binding rule

This commit is contained in:
Unknwon 2015-12-17 02:24:28 -05:00
parent 30a98edc71
commit ce7aab692f

View file

@ -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"`