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