package
0.0.0-20240415145151-0273aa05a174
Repository: https://github.com/phyoyazar/service.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
MustParseRole parses the string value and returns a role if one exists.
NewCore constructs a core for user api access.
ParseRole parses the string value and returns a role if one exists.
# Constants
Set of fields that the results can be ordered by.
Set of fields that the results can be ordered by.
Set of fields that the results can be ordered by.
Set of fields that the results can be ordered by.
Set of fields that the results can be ordered by.
# Variables
DefaultOrderBy represents the default way we sort.
Set of error variables for CRUD operations.
Set of error variables for CRUD operations.
Set of error variables for CRUD operations.
Set of possible roles for a user.
Set of possible roles for a user.
# Structs
Core manages the set of APIs for user access.
NewUser contains information needed to create a new user.
QueryFilter holds the available fields a query can be filtered on.
Role represents a role in the system.
UpdateUser contains information needed to update a user.
User represents information about an individual user.
# Interfaces
Storer interface declares the behavior this package needs to perists and retrieve data.