An SDK written in Go that wraps around the Forgejo API, providing additional convenience functions.
Find a file
Bo-Yi Wu f12d597965 feat(repo): support list of repo secrets (#660)
- Update comment to correctly describe `ListOrgActionSecretOption` as listing organization secrets instead of members
- Add new file `repo_action.go` with functionality to list a repository's secrets including the structure and API call

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/660
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>
2024-05-03 17:36:32 +02:00
.forgejo/workflows feat: fork Gitea SDK (#1) 2024-05-03 16:35:08 +02:00
.github feat: fork Gitea SDK (#1) 2024-05-03 16:35:08 +02:00
forgejo feat(repo): support list of repo secrets (#660) 2024-05-03 17:36:32 +02:00
.changelog.yml Make final corrections before fork is finalized (#3) 2024-05-03 14:54:54 +00:00
.editorconfig switch gitter to discord for drone. (#62) 2017-06-16 10:46:36 +08:00
.gitattributes prevent merge conflicts | gitattributes eol=lf (#200) 2019-12-30 20:16:29 +00:00
.gitignore Add gitea-vet (#312) 2021-08-13 22:21:17 +08:00
.revive.toml use golangci-lint and revive for linting (match main repo) (#220) 2020-01-26 19:08:47 +00:00
CHANGELOG.md Add Changelog for v0.15.1 & url fixes (#564) 2022-01-12 08:44:20 +08:00
CONTRIBUTING.md Make final corrections before fork is finalized (#3) 2024-05-03 14:54:54 +00:00
DCO Added contribution and maintainer files 2016-11-07 11:26:36 -02:00
LICENSE feat: fork Gitea SDK (#1) 2024-05-03 16:35:08 +02:00
Makefile feat: fork Gitea SDK (#1) 2024-05-03 16:35:08 +02:00
README.md Correct README.md listed go version 2024-05-03 16:35:25 +02:00

Forgejo SDK for Go

License: MIT Go Report Card GoDoc

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.