feat: gitea client

This commit is contained in:
2026-02-12 20:58:55 +01:00
parent 8583ab48ce
commit 9bd7d363ba
1693 changed files with 653995 additions and 49 deletions

26
vendor/github.com/alecthomas/kong-yaml/README.md generated vendored Normal file
View File

@@ -0,0 +1,26 @@
# Kong YAML utilities [![](https://godoc.org/github.com/alecthomas/kong-yaml?status.svg)](http://godoc.org/github.com/alecthomas/kong-yaml) [![CircleCI](https://img.shields.io/circleci/project/github/alecthomas/kong-yaml.svg)](https://circleci.com/gh/alecthomas/kong-yaml)
## Configuration loader
Use it like so:
```go
parser, err := kong.New(&cli, kong.Configuration(kongyaml.Loader, "/etc/myapp/config.yaml", "~/.myapp.yaml"))
```
## YAMLFileMapper
YAMLFileMapper implements kong.MapperValue to decode a YAML file into
a struct field.
Use it like so:
```go
var cli struct {
Profile Profile `type:"yamlfile"`
}
func main() {
kong.Parse(&cli, kong.NamedMapper("yamlfile", kongyaml.YAMLFileMapper))
}
```