forked from forgejo/forgejo
Update gitea/sdk vendor
This commit is contained in:
parent
f364522468
commit
57dc9efaae
26 changed files with 301 additions and 33 deletions
3
vendor/code.gitea.io/sdk/gitea/utils.go
generated
vendored
3
vendor/code.gitea.io/sdk/gitea/utils.go
generated
vendored
|
@ -10,14 +10,17 @@ import (
|
|||
|
||||
var jsonHeader = http.Header{"content-type": []string{"application/json"}}
|
||||
|
||||
// Bool return address of bool value
|
||||
func Bool(v bool) *bool {
|
||||
return &v
|
||||
}
|
||||
|
||||
// String return address of string value
|
||||
func String(v string) *string {
|
||||
return &v
|
||||
}
|
||||
|
||||
// Int64 return address of int64 value
|
||||
func Int64(v int64) *int64 {
|
||||
return &v
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue