Gitea: Golang SDK
Bo-Yi Wu
6c0938dc15
Some checks failed
testing / testing (push) Failing after 2m5s
- 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: #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> |
||
---|---|---|
.gitea/workflows | ||
.github | ||
docs | ||
gitea | ||
.changelog.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.