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 `json:"id" gorm:"primary_key"` Name string `json:"name" gorm:"type:varchar(100)"` Surname string `json:"surname" gorm:"type:varchar(100)"` Username string `json:"username" gorm:"type:varchar(100);not null"` Email string `json:"email" gorm:"type:varchar(100);unique_index;not null"` Password string `json:"password" gorm:"type:varchar(255);not null"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt time.Time `json:"deleted_at"` }
Click to show internal directories.
Click to hide internal directories.