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 <firstname.lastname@example.org> Reviewed-on: gitea/go-sdk#603 Reviewed-by: techknowlogick <email@example.com> Reviewed-by: John Olheiser <firstname.lastname@example.org> Co-authored-by: Norwin <email@example.com> Co-committed-by: Norwin <firstname.lastname@example.org>
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.
- go >= 1.13
- gitea >= 1.11
Fork -> Patch -> Push -> Pull Request
This project is under the MIT License. See the LICENSE file for the full license text.