Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrosNoBody ¶
type ErrosNoBody struct {
Error string `json:"error"`
}
type ExampleInputUser ¶
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token"`
}
type UpdateUser ¶
type User ¶
type User struct { ID string `json:"id" gorm:"primaryKey;type:uuid" binding:"required,uuid4"` Nickname string `json:"nickname" gorm:"size:50;unique" binding:"required,min=3,max=50"` Email string `json:"email" gorm:"size:50;unique" binding:"required,max=50,email"` Password string `json:"password" gorm:"password" binding:"required,min=6,max=16"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.