package
0.0.0-20240513095113-b889055ad37b
Repository: https://github.com/go-flexi/ecom-backend.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
ContextWithToken adds the token to the context.
GetContextToken returns the token from the context.
NewCore creates a new Core.
NewFilter creates a new filter.
ParseRole returns a role from a string.
ParseRoles returns a list of roles from a list of strings.
ParseRolesFromString returns a list of roles from a string.
RoleAdmin returns the admin role.
RoleManager returns the manager role.
RoleUser returns the user role.
# Constants
list of order by.
list of order by.
list of order by.
list of order by.
# Structs
Core represents user use case.
Filter represents a filter for querying users.
NewUser is used to create a new user.
Role represents a user role.
Token is used to authenticate a user.
UpdateUser represents the fields that can be updated.
User represents a user of the system.
# Interfaces
User provides functionality to store User.
TokenStore represents a store for managing tokens.