Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePermission ¶
func RemovePermission ¶
func RemovePermission[T UintSeq](origin []T, permissions ...[]T) []T
func SumPermission ¶
func SumPermission[T UintSeq](permissions ...[]T) []T
func ValidPermission ¶
Types ¶
type PermissionCode ¶
type PermissionCode int
func (PermissionCode) Code ¶
func (p PermissionCode) Code() []uint64
func (PermissionCode) Uint16Code ¶
func (p PermissionCode) Uint16Code() []uint16
func (PermissionCode) Uint32Code ¶
func (p PermissionCode) Uint32Code() []uint32
func (PermissionCode) Uint64Code ¶
func (p PermissionCode) Uint64Code() []uint64
func (PermissionCode) Uint8Code ¶
func (p PermissionCode) Uint8Code() []uint8
Click to show internal directories.
Click to hide internal directories.