Skip to content

Commit 442b4e5

Browse files
richmahnunknwon
authored andcommitted
Added Full Name to CreateUserOption (#36)
1 parent f2f681f commit 442b4e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

admin_user.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type CreateUserOption struct {
1414
SourceID int64 `json:"source_id"`
1515
LoginName string `json:"login_name"`
1616
Username string `json:"username" binding:"Required;AlphaDashDot;MaxSize(35)"`
17+
FullName string `json:"full_name" binding:"MaxSize(100)"`
1718
Email string `json:"email" binding:"Required;Email;MaxSize(254)"`
1819
Password string `json:"password" binding:"MaxSize(255)"`
1920
SendNotify bool `json:"send_notify"`

0 commit comments

Comments
 (0)