Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit ce7aab6

Browse files
committed
binding rule
1 parent 30a98ed commit ce7aab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin_orgs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
type CreateOrgOption struct {
15-
UserName string `json:"username"`
15+
UserName string `json:"username" binding:"Required"`
1616
FullName string `json:"full_name"`
1717
Description string `json:"description"`
1818
Website string `json:"website"`

0 commit comments

Comments
 (0)