mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
fixed multipart form issue
This commit is contained in:
@@ -3,10 +3,10 @@ package models
|
||||
type User struct {
|
||||
tableName struct{} `pg:"users,alias:users"`
|
||||
BaseModel
|
||||
IsActive bool `json:"isActive" pg:"is_active"`
|
||||
Username string `json:"username" pg:"username"`
|
||||
Password string `json:"password" pg:"password"`
|
||||
Email string `json:"email" pg:"email"`
|
||||
IsActive bool `json:"isActive" pg:"is_active" form:"isActive"`
|
||||
Username string `json:"username" pg:"username" form:"username"`
|
||||
Password string `json:"password" pg:"password" form:"password"`
|
||||
Email string `json:"email" pg:"email" form:"email"`
|
||||
}
|
||||
|
||||
type UserReturnInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user