An SDK written in Go that wraps around the Forgejo API, providing additional convenience functions.
29513fc519
- Add `bytes` and `encoding/json` imports to `org_action.go` - Implement `CreateSecretOption` struct with validation in `org_action.go` - Add `CreateOrgActionSecret` function to create or update organization secrets in `org_action.go` - Create new test file `org_action_test.go` with tests for creating and updating organization secrets - Add `Data` field to `Secret` struct in `secret.go` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/661 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com> Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.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.