Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeRole = iota + 1 TypePermission )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { ID string `db:"id" json:"id"` GroupID string `db:"group_id" json:"group_id"` Name string `db:"name" json:"name"` Type int `db:"item_type" json:"item_type"` Reserved bool `db:"reserved" json:"reserved"` Obj string `db:"obj" json:"obj"` Act string `db:"act" json:"act"` CreatedAt time.Time `db:"created_at"` UpdatedAt time.Time `db:"updated_at"` }
func (Item) IsPermission ¶
Click to show internal directories.
Click to hide internal directories.