Documentation ¶
Index ¶
Constants ¶
View Source
const TableNameGame = "game"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct { ID uint64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:auto increment id" json:"id,string"` // auto increment id CreatedAt carbon.DateTime `gorm:"column:created_at;comment:create time" json:"createdAt"` // create time UpdatedAt carbon.DateTime `gorm:"column:updated_at;comment:update time" json:"updatedAt"` // update time Name string `gorm:"column:name;comment:name" json:"name"` // name }
Game mapped from table <game>
Click to show internal directories.
Click to hide internal directories.