An SDK written in Go that wraps around the Forgejo API, providing additional convenience functions.
ff00c13597
This PR close #475 It complements the `Client.GetArchive` call, which returns a byte slice and hence is unsuitable for use with large repositories, with a `Client.GetArchiveReader` method that returns a `io.ReadCloser` that streams the retrieved archvie and, therefore, induces a much smaller memory footprint on the calling client. Co-authored-by: Peter Gardfjäll <peter.gardfjall.work@gmail.com> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/476 Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: Norwin <noerw@noreply.gitea.io> Co-authored-by: petergardfjall <petergardfjall@noreply.gitea.io> Co-committed-by: petergardfjall <petergardfjall@noreply.gitea.io> |
||
---|---|---|
.github | ||
docs | ||
gitea | ||
.changelog.yml | ||
.drone.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.revive.toml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
DCO | ||
LICENSE | ||
Makefile | ||
README.md |
Gitea SDK for Go
This project acts as a client SDK implementation written in Go to interact with the Gitea API implementation. For further informations take a look at the current documentation.
Use it
import "code.gitea.io/sdk/gitea"
Version Requirements
- go >= 1.13
- gitea >= 1.11
Contributing
Fork -> Patch -> Push -> Pull Request
Authors
License
This project is under the MIT License. See the LICENSE file for the full license text.