Documentation ¶ Index ¶ type Person func (m *Person) TableName() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Person ¶ type Person struct { Id int64 `gorm:"column:id;primary_key"` Name string `gorm:"column:name"` Image string `gorm:"column:image"` ThumbImage string `gorm:"column:thumb_image"` Lucky bool Level int64 } func (*Person) TableName ¶ func (m *Person) TableName() string TableName sets the insert table name for this struct type Source Files ¶ View all Source files person.go Click to show internal directories. Click to hide internal directories.