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

Commit

Permalink
EditTeamOption struct (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethantkoenig authored and lunny committed Dec 8, 2016
1 parent cb7fc56 commit 559190d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gitea/org_team.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ type CreateTeamOption struct {
Description string `json:"description" binding:"MaxSize(255)"`
Permission string `json:"permission"`
}

// EditTeamOption options when edit team
type EditTeamOption struct {
Name string `json:"name" binding:"Required;AlphaDashDot;MaxSize(30)"`
Description string `json:"description" binding:"MaxSize(255)"`
Permission string `json:"permission"`
}

0 comments on commit 559190d

Please sign in to comment.