forked from forgejo/forgejo
[Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 (#12701)
* update github.com/xanzy/go-gitlab v0.31.0 => v0.37.0 * vendor * adapt changes Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
0ed5e103fe
commit
0c6a802731
44 changed files with 2436 additions and 776 deletions
3
vendor/github.com/xanzy/go-gitlab/README.md
generated
vendored
3
vendor/github.com/xanzy/go-gitlab/README.md
generated
vendored
|
@ -44,6 +44,7 @@ to add new and/or missing endpoints. Currently the following services are suppor
|
|||
- [x] Group Milestones
|
||||
- [x] Group-Level Variables
|
||||
- [x] Groups
|
||||
- [x] Instance Clusters
|
||||
- [x] Issue Boards
|
||||
- [x] Issues
|
||||
- [x] Jobs
|
||||
|
@ -161,7 +162,7 @@ func main() {
|
|||
s := &gitlab.CreateProjectSnippetOptions{
|
||||
Title: gitlab.String("Dummy Snippet"),
|
||||
FileName: gitlab.String("snippet.go"),
|
||||
Code: gitlab.String("package main...."),
|
||||
Content: gitlab.String("package main...."),
|
||||
Visibility: gitlab.Visibility(gitlab.PublicVisibility),
|
||||
}
|
||||
_, _, err = git.ProjectSnippets.CreateSnippet(project.ID, s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue