An SDK written in Go that wraps around the Forgejo API, providing additional convenience functions.
24a404e561
This API was added in 1.16, [template forms](https://github.com/go-gitea/gitea/pull/20987) will be in 1.18. I don't think we need to add version checks, as the respective `.Form` field will just be empty on unsupported versions, but correct me if I'm wrong here. fixes #547 - i took the freedom to change the struct property names from the API names for clarity - I didn't add tests because it would effectively just test gitea's API to be functional (as long as there is only this GET method) Co-authored-by: John Olheiser <john+gitea@jolheiser.com> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/603 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io> Reviewed-by: John Olheiser <john+gitea@jolheiser.com> Co-authored-by: Norwin <git@nroo.de> Co-committed-by: Norwin <git@nroo.de> |
||
---|---|---|
.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.
Note: function arguments are escaped by the SDK.
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.