Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID uint `gorm:"primaryKey" json:"id"` Username string `gorm:"uniqueIndex" json:"username"` Email string `gorm:"unique" json:"email"` Password string `json:"-"` Bio string `json:"bio"` CreatedAt time.Time `gorm:"autoCreateTime" json:"created_at"` UpdatedAt time.Time `gorm:"autoUpdateTime" json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.