An SDK written in Go that wraps around the Forgejo API, providing additional convenience functions.
Find a file
Jonas Franz c026786979 Add Attachment API (#90)
* Adding assets struct

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Replacing assets with attachments

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Using pointer to attachment instead of copy

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Adding swagger tags to attachment
Renaming Assets to Attachments

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Add client functions for attachments

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add EditAttachmentForm
Add CreateReleaseAttachment function

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add EditReleaseAttachment
Add DeleteReleaseAttachment

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add missing "Content-Type" to CreateReleaseAttachment

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Using reader for uploading file

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Use io.Copy instead of part.Write

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Add error checking

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Replace Attachments with Assets to make API Github compatible

Signed-off-by: Jonas Franz <info@jonasfranz.de>
2018-02-28 11:17:30 +08:00
.github Comment help text for issues (#68) 2017-08-09 07:26:27 +08:00
gitea Add Attachment API (#90) 2018-02-28 11:17:30 +08:00
.drone.yml Changes for latest DroneCI 2017-09-07 19:11:38 +02:00
.editorconfig switch gitter to discord for drone. (#62) 2017-06-16 10:46:36 +08:00
.gitignore Added more common gitignore 2016-11-07 11:26:36 -02:00
.lgtm update LGTM pattern (#86) 2018-01-03 15:08:25 +02:00
CONTRIBUTING.md Update contributing & maintainers file 2017-01-24 21:35:11 +01: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
MAINTAINERS add myself to maintainers (#87) 2018-01-06 22:08:06 +02:00
Makefile Changes for latest DroneCI 2017-09-07 19:11:38 +02:00
README.md replace gitter chat with discord. (#60) 2017-06-11 09:18:50 +02:00

Gitea SDK for Go

Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg Coverage Status 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.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

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