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