Update gitea/sdk vendor
This commit is contained in:
parent
f364522468
commit
57dc9efaae
26 changed files with 301 additions and 33 deletions
2
vendor/code.gitea.io/sdk/gitea/org_team.go
generated
vendored
2
vendor/code.gitea.io/sdk/gitea/org_team.go
generated
vendored
|
@ -4,6 +4,7 @@
|
|||
|
||||
package gitea
|
||||
|
||||
// Team is a sub virtual organization of one Organization
|
||||
type Team struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
|
@ -11,6 +12,7 @@ type Team struct {
|
|||
Permission string `json:"permission"`
|
||||
}
|
||||
|
||||
// CreateTeamOption options when create team
|
||||
type CreateTeamOption struct {
|
||||
Name string `json:"name" binding:"Required;AlphaDashDot;MaxSize(30)"`
|
||||
Description string `json:"description" binding:"MaxSize(255)"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue