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 <arkamar@atlas.cz>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: gitea/go-sdk#570
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: arkamar <arkamar@noreply.gitea.io>
Co-committed-by: arkamar <arkamar@noreply.gitea.io>
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
CHANGELOG.md Add Changelog for v0.15.1 & url fixes (#564) 1 year ago
CONTRIBUTING.md 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
README.md UrlEscape Function Arguments used in UrlPath (#273) 2 years ago

README.md

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.