Gitea: Golang SDK
Go to file
arkamar 319a978c6c Allow PR review with comments only (#570)
It is common to create PR review with Comments only, where foreword Body is empty. This is allowed by Gitea API, therefore SDK should return empty body error only if there are no comments.

Co-authored-by: Petr Vaněk <>
Co-authored-by: Lunny Xiao <>
Reviewed-on: gitea/go-sdk#570
Reviewed-by: Norwin <>
Reviewed-by: Andrew Thornton <>
Co-authored-by: arkamar <>
Co-committed-by: arkamar <>
11 months ago
.github Fix Links (#193) 3 years ago
docs GetPullRequestDiff: add PullRequestDiffOptions param (#542) 1 year ago
gitea Allow PR review with comments only (#570) 11 months ago
.changelog.yml Changelog for v0.15.0 (#538) 2 years ago
.drone.yml Enforce golangci-lint + gofumpt (#587) 11 months ago
.editorconfig switch gitter to discord for drone. (#62) 6 years ago
.gitattributes prevent merge conflicts | gitattributes eol=lf (#200) 3 years ago
.gitignore Add gitea-vet (#312) 2 years ago
.revive.toml use golangci-lint and revive for linting (match main repo) (#220) 3 years ago Add Changelog for v0.15.1 & url fixes (#564) 1 year ago README: add LICENCE and RELEASE badge (#208) 3 years ago
DCO Added contribution and maintainer files 6 years ago
LICENSE Updated licenses info 6 years ago
Makefile Enforce golangci-lint + gofumpt (#587) 11 months ago UrlEscape Function Arguments used in UrlPath (#273) 2 years ago

Gitea SDK for Go

License: MIT Release Build Status Join the chat at 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 ""

Version Requirements

  • go >= 1.13
  • gitea >= 1.11


Fork -> Patch -> Push -> Pull Request



This project is under the MIT License. See the LICENSE file for the full license text.