Adds vendor data

This commit is contained in:
2023-12-11 11:30:30 +01:00
parent 81effbf8a8
commit c53a2f45ee
81 changed files with 11002 additions and 0 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
}