binding rule
This commit is contained in:
parent
30a98edc71
commit
ce7aab692f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
)
|
||||
|
||||
type CreateOrgOption struct {
|
||||
UserName string `json:"username"`
|
||||
UserName string `json:"username" binding:"Required"`
|
||||
FullName string `json:"full_name"`
|
||||
Description string `json:"description"`
|
||||
Website string `json:"website"`
|
||||
|
|
Loading…
Reference in a new issue