mirror of
https://github.com/go-gitea/gitea
synced 2025-07-26 12:18:36 +00:00
Move sdk structs to modules/structs (#6905)
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
This commit is contained in:
10
modules/structs/repo_collaborator.go
Normal file
10
modules/structs/repo_collaborator.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2016 The Gogs Authors. All rights reserved.
|
||||
// Use of this source code is governed by a MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package structs
|
||||
|
||||
// AddCollaboratorOption options when adding a user as a collaborator of a repository
|
||||
type AddCollaboratorOption struct {
|
||||
Permission *string `json:"permission"`
|
||||
}
|
Reference in New Issue
Block a user