Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TransformGetRoleByIdDto ¶
func TransformGetRoleByIdDto(role *GetRoleByIdDto) map[string]any
func TransformRoleGetListDto ¶
func TransformRoleGetListDto(roles []*RoleGetListDto) []map[string]any
Types ¶
type GetRoleByIdDto ¶
type GetRoleByIdDto struct { *model.Role Permissions sql.NullString `db:"permissions" json:"permissions"` }
type RoleGetListDto ¶
type RoleGetListDto struct { *model.Role Permissions sql.NullString `db:"permissions" json:"permissions"` }
Click to show internal directories.
Click to hide internal directories.