An SDK written in Go that wraps around the Forgejo API, providing additional convenience functions.
Find a file
petergardfjall f0663b3c13 add mirror_updated field to Repository struct (#565)
This PR resolves https://gitea.com/gitea/go-sdk/issues/566.

It ensures that the client-side SDK extracts the `mirror_updated` field introduced on the server by https://github.com/go-gitea/gitea/pull/18267 (issue: https://github.com/go-gitea/gitea/issues/18266).

Co-authored-by: Peter Gardfjäll <peter.gardfjall.work@gmail.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/565
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-authored-by: petergardfjall <petergardfjall@noreply.gitea.io>
Co-committed-by: petergardfjall <petergardfjall@noreply.gitea.io>
2022-03-28 19:06:48 +08:00
.github Fix Links (#193) 2019-11-06 15:16:26 +00:00
docs GetPullRequestDiff: add PullRequestDiffOptions param (#542) 2022-01-14 01:30:39 +08:00
gitea add mirror_updated field to Repository struct (#565) 2022-03-28 19:06:48 +08:00
.changelog.yml Changelog for v0.15.0 (#538) 2021-08-14 00:46:54 +08:00
.drone.yml Fix CI (run gitea without root previleges) (#569) 2022-02-14 23:05:57 +08: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 README: add LICENCE and RELEASE badge (#208) 2020-01-03 01:01:10 +00:00
DCO Added contribution and maintainer files 2016-11-07 11:26:36 -02:00
LICENSE Updated licenses info 2016-11-07 11:26:36 -02:00
Makefile Add gitea-vet (#312) 2021-08-13 22:21:17 +08:00
README.md UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00

Gitea SDK for Go

License: MIT Release Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg Go Report Card GoDoc

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.