Adapts models
This commit is contained in:
parent
62f3f6ba8a
commit
96fc234068
3 changed files with 13 additions and 13 deletions
|
|
@ -1,7 +1,7 @@
|
|||
package model
|
||||
|
||||
type User struct {
|
||||
ID string
|
||||
FirstName string
|
||||
Email string
|
||||
ID string `json:"id"`
|
||||
FirstName string `json:"firstName" validate:"required"`
|
||||
Email string `json:"email" validate:"required,email"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue