Versions in this module Expand all Collapse all v1 v1.0.2 Aug 12, 2024 v1.0.1 Aug 12, 2024 v1.0.0 Aug 12, 2024 Changes in this version + type AdminUsers struct + CreatedAt time.Time + Id int32 + Password string + UpdatedAt time.Time + Username string + func NewAdminUsers() *AdminUsers + func (a *AdminUsers) TableName() string + type Policies struct + Action string + CreatedAt time.Time + Effect string + Id uint32 + ResourceId uint32 + RoleId uint32 + UpdatedAt time.Time + func NewPolicies() *Policies + func (p *Policies) TableName() string + type Resources struct + CreatedAt time.Time + Id uint32 + Name string + Type uint8 + UpdatedAt time.Time + func NewResources() *Resources + func (r *Resources) TableName() string + type Roles struct + CreatedAt time.Time + Id uint32 + Name string + UpdatedAt time.Time + func NewRoles() *Roles + func (r *Roles) TableName() string + type User struct + Avatar string + CreatedAt time.Time + Email string + Gender uint8 + Id int32 + Password string + Phone string + UpdatedAt time.Time + Username string + func NewUser() *User + func (u *User) TableName() string + type UserRoles struct + RoleId uint32 + UserId uint32 + func NewUserRoles() *UserRoles + func (u *UserRoles) TableName() string