Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Directory 目录 Directory string = "M" // Menu 菜单 Menu string = "C" // Button 按钮 Button string = "F" )
Menu 菜单中的类型枚举值
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlBy ¶
type ControlBy struct { CreateBy string `json:"createBy" gorm:"size:63;index;comment:创建者"` UpdateBy string `json:"updateBy" gorm:"size:63;index;comment:更新者"` }
func (*ControlBy) SetCreateBy ¶
SetCreateBy 设置创建人id
func (*ControlBy) SetUpdateBy ¶
SetUpdateBy 设置修改人id
type Migration ¶
type ModelTimeHardDelete ¶
type ModelTimeHardDelete struct { CreatedAt time.Time `json:"createdAt" gorm:"index;comment:创建时间"` UpdatedAt time.Time `json:"updatedAt" gorm:"index;comment:最后更新时间"` }
ModelTimeHardDelete We'd like to hard delete...
Click to show internal directories.
Click to hide internal directories.