Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Admin user is defined for admin, this role will allowed all CRUD request Admin int = 2 // Author user // This role type should never be inserted into database // This filed just tell roles middleware check if data created by request user Author int = 0 // Normal account // Anyone register a new account will be added into Normal groups Normal int = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.