An SDK written in Go that wraps around the Forgejo API, providing additional convenience functions.
e21c012dcb
This _PR_ adds the following fields to the _User_ struct: - _LoginName_: Currently returned by the Gitea API. - _SourceID_: [Scheduled to be returned by the Gitea API as of version 1.22.0](https://github.com/go-gitea/gitea/pull/29718). The fields are used for users with non-local Authentication Sources (LDAP, oAuth etc.). Co-authored-by: tobias.petersen <tobias.petersen@unity3d.com> Co-authored-by: appleboy <appleboy.tw@gmail.com> Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/654 Reviewed-by: appleboy <appleboy.tw@gmail.com> Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: tobiasbp <tobiasbp@noreply.gitea.com> Co-committed-by: tobiasbp <tobiasbp@noreply.gitea.com> |
||
---|---|---|
.forgejo/workflows | ||
.github | ||
forgejo | ||
.changelog.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.revive.toml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
DCO | ||
LICENSE | ||
Makefile | ||
README.md |
Forgejo SDK for Go
This project acts as a client SDK implementation written in Go to interact with the Forgejo API implementation. For further informations take a look at the current documentation.
Note: function arguments are escaped by the SDK.
Use it
import "codeberg.org/mvdkleijn/forgejo-sdk/forgejo"
Version Requirements
- go >= 1.21
- forgejo >= 1.11
Contributing
Fork -> Patch -> Push -> Pull Request
License
This project is under the MIT License. See the LICENSE file for the full license text.