Documentation ¶ Index ¶ func AdminUser() models.User func DefaultUserlog(user models.User) models.Userlog func Roles(admin models.User, features []string) (roles []models.Role) func UserRole(admin models.User, roles []models.Role) (userRoles []models.UserRole) type Defaults Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AdminUser ¶ func AdminUser() models.User func DefaultUserlog ¶ func DefaultUserlog(user models.User) models.Userlog func Roles ¶ func Roles(admin models.User, features []string) (roles []models.Role) func UserRole ¶ func UserRole(admin models.User, roles []models.Role) (userRoles []models.UserRole) Types ¶ type Defaults ¶ type Defaults struct { Users []models.User Roles []models.Role UserRoles []models.UserRole } Source Files ¶ View all Source files defaults.go roles.go user.go user_role.go userlog.go Click to show internal directories. Click to hide internal directories.