Person: remove email validation
This commit is contained in:
parent
c39a15f113
commit
6bc2ce8b48
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ import (
|
||||||
type PersonValidation struct {
|
type PersonValidation struct {
|
||||||
LastName string `validate:"required,min=1,max=100"`
|
LastName string `validate:"required,min=1,max=100"`
|
||||||
FirstName string `validate:"required,min=1,max=100"`
|
FirstName string `validate:"required,min=1,max=100"`
|
||||||
Email string `validate:"max=100,email"`
|
Email string `validate:"max=100"`
|
||||||
Phone string `validate:"max=100"`
|
Phone string `validate:"max=100"`
|
||||||
Mobile string `validate:"max=100"`
|
Mobile string `validate:"max=100"`
|
||||||
Address1 string `validate:"max=100"`
|
Address1 string `validate:"max=100"`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue