Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserForm ¶
type UserForm struct {
ID string `json:"id"`
Name string `json:"name"`
Phone string `json:"phone"`
Email string `json:"email"`
Address string `json:"address"`
}
UserForm represent the user request model
type UserQueryForm ¶
type UserQueryForm struct {
Query string `json:"query"`
}
UserQueryForm represent the user request model
func (*UserQueryForm) Validate ¶
func (v *UserQueryForm) Validate() []string
Validate represent the validation method from UserQueryForm
Click to show internal directories.
Click to hide internal directories.