Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
ALL_ROLES is a list of all roles for use in the application.
View Source
var AUTHORS_GROUP = []Role{Admin, Author}
AUTHORS_GROUP is a list of Author and Admin roles for use in the application.
View Source
var EDITORS_GROUP = []Role{Admin, Editor}
EDITORS_GROUP is a list of Editor and Admin roles for use in the application.
View Source
var USERS_GROUP = []Role{Admin, User}
USERS is a list of User and Admin roles for use in the application.
Functions ¶
This section is empty.
Types ¶
type CustomTypes ¶ added in v1.3.0
type CustomTypes string
const ( Integer CustomTypes = "integer" String CustomTypes = "string" Float CustomTypes = "float" Boolean CustomTypes = "boolean" )
Integer represents the custom type for integers.
type Environment ¶ added in v1.5.2
type Environment string
const ( PRODUCTION Environment = "production" DEVELOPMENT Environment = "development" )
PRODUCTION represents the production environment.
type Operator ¶ added in v1.3.0
type Operator string
const ( Equal Operator = "eq" NotEqual Operator = "ne" GreaterThan Operator = "gt" GreaterThanOrEqual Operator = "gte" LessThan Operator = "lt" LessThanOrEqual Operator = "lte" Like Operator = "like" NotLike Operator = "notLike" In Operator = "in" NotIn Operator = "notIn" )
Equal represents the equality operator.
Click to show internal directories.
Click to hide internal directories.