Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatedAt ¶ added in v0.2.3
type CreatedAt struct {
Identity `xorm:"extends"`
// 创建时间
Created time.Time `` // nolint:lll
/* 139-byte string literal not displayed */
}
CreatedAt 创建时间
type Identity ¶ added in v0.1.5
type Identity struct {
Id uint64 `xorm:"pk BIGINT notnull default(0) comment('编号,用来唯一标识数据')" json:"id,string,omitempty"`
}
func (*Identity) BeforeInsert ¶ added in v0.2.3
func (i *Identity) BeforeInsert()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.