[Vendor] update gitea-sdk v0.14.0 (#15103)

* upgraded code.gitea.io/sdk/gitea v0.13.2 => v0.14.0

* rm workaround
This commit is contained in:
6543 2021-03-22 18:03:18 +01:00 committed by GitHub
parent 8567cba0d9
commit 5f038cd7fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 1338 additions and 360 deletions

20
vendor/code.gitea.io/sdk/gitea/helper.go generated vendored Normal file
View file

@ -0,0 +1,20 @@
// Copyright 2020 The Gitea 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 gitea
// OptionalBool convert a bool to a bool reference
func OptionalBool(v bool) *bool {
return &v
}
// OptionalString convert a string to a string reference
func OptionalString(v string) *string {
return &v
}
// OptionalInt64 convert a int64 to a int64 reference
func OptionalInt64(v int64) *int64 {
return &v
}