Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloWorld ¶
type HelloWorld struct {
Hello string `json:"hello" example:"world"`
}
type User ¶
type User struct { ID string `json:"id" gorm:"primaryKey"` Username string `json:"username" binding:"required" form:"username"` Email string `json:"email" binding:"required,email" form:"email"` Password string `json:"password" binding:"required" form:"password"` CreatedAt time.Time `json:"created_at" gorm:"autoCreateTime"` UpdatedAt time.Time `json:"updated_at" gorm:"autoUpdateTime"` DeletedAt gorm.DeletedAt `json:"deleted_at" gorm:"<-:false"` }
Click to show internal directories.
Click to hide internal directories.