From ce7aab692f41706d88b1ee18bc0aed550dfaa095 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 17 Dec 2015 02:24:28 -0500 Subject: [PATCH] binding rule --- admin_orgs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_orgs.go b/admin_orgs.go index 9984ecc..9774152 100644 --- a/admin_orgs.go +++ b/admin_orgs.go @@ -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"`