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

Commit 559190d

Browse files
ethantkoeniglunny
authored andcommitted
EditTeamOption struct (#25)
1 parent cb7fc56 commit 559190d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gitea/org_team.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,10 @@ type CreateTeamOption struct {
1818
Description string `json:"description" binding:"MaxSize(255)"`
1919
Permission string `json:"permission"`
2020
}
21+
22+
// EditTeamOption options when edit team
23+
type EditTeamOption struct {
24+
Name string `json:"name" binding:"Required;AlphaDashDot;MaxSize(30)"`
25+
Description string `json:"description" binding:"MaxSize(255)"`
26+
Permission string `json:"permission"`
27+
}

0 commit comments

Comments
 (0)