Add create contact and update some code
This commit is contained in:
1 parent
13aaf36da7
commit
7d649ef05b
2 files changed
+132
-25
No files matched your search
@@ -11,7 +11,10 @@ type Contact struct {
|
||||
FirstName string `json:"firstname" validate:"required"`
|
||||
MiddleName string `json:"middlename"`
|
||||
LastName string `json:"lastname" validate:"required"`
|
||||
Province string `json:"province"`
|
||||
City string `json:"city"`
|
||||
Address string `json:"address" validate:"required"`
|
||||
Postal string `json:"postal"`
|
||||
HomePhone string `json:"homephone" validate:"required"`
|
||||
WorkPhone string `json:"workphone"`
|
||||
Email string `json:"email" validate:"required"`
|
||||
|
||||
Reference in new issue
Block a user