Documentation ¶ Index ¶ type User func (User) TableName() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type User ¶ type User struct { Id int64 `gorm:"column:id"` Username string `gorm:"column:username"` Password string `gorm:"column:password"` Name string `gorm:"column:name"` CreatedAt time.Time `gorm:"column:created_at"` } func (User) TableName ¶ func (User) TableName() string Source Files ¶ View all Source files user.go Click to show internal directories. Click to hide internal directories.