An SDK written in Go that wraps around the Forgejo API, providing additional convenience functions.
Find a file
Iwan Budi Kusnanto c317bcf8d1 Split Client.getResponse to Client.doRequest & Client.getResponse. (#44)
There is some API that give empty response and we only need
to check HTTP status code.
example :
https://developer.github.com/v3/issues/assignees/#check-assignee

But there is no way to do this in current code because
getResponse will parse the response body and not returning
HTTP status code.

Client.doRequest makes it possible to do this.
2016-08-26 10:52:08 -07:00
.gitignore admin users 2015-12-05 17:12:43 -05:00
admin_org.go Simplify code 2016-07-17 08:46:54 +08:00
admin_repo.go Simplify code 2016-07-17 08:46:54 +08:00
admin_user.go Add optional MaxRepoCreation field to EditUserOption (#22) 2016-08-11 11:46:49 -07:00
gogs.go Split Client.getResponse to Client.doRequest & Client.getResponse. (#44) 2016-08-26 10:52:08 -07:00
issue.go Add Status-flag to EditIssueOption (#41) 2016-08-19 08:13:44 -07:00
issue_comment.go #26 code cleanup 2016-08-24 20:58:09 -07:00
issue_label.go #35 improve code structure 2016-08-03 11:50:33 -07:00
issue_milestone.go Change EditMilestoneOption.Title to non-pointer 2016-08-24 15:52:02 -07:00
LICENSE Initial commit 2014-11-13 13:05:11 -05:00
miscellaneous.go minor tag fix 2015-12-04 17:10:37 -05:00
org.go Simplify code 2016-07-17 08:46:54 +08:00
org_member.go Add binding validation rule 2016-08-05 21:25:42 -07:00
org_team.go Add CreateTeamOption 2016-03-21 12:45:51 -04:00
pull.go Rename Issue.User -> Issue.Poster 2016-08-16 10:16:51 -07:00
README.md wki 2015-08-19 04:49:50 +08:00
repo.go Add pull request 2016-08-14 03:32:53 -07:00
repo_branch.go Minor fix for #15 2016-02-02 16:54:14 -05:00
repo_collaborator.go gofmt 2016-08-11 11:34:16 -07:00
repo_file.go getFile 2014-11-16 21:32:12 -05:00
repo_hook.go Remove unused payload types 2016-08-14 04:16:36 -07:00
repo_key.go Simplify code 2016-07-17 08:46:54 +08:00
user.go rename field 2015-08-19 05:28:20 +08:00
user_app.go minor tag fix 2015-12-04 17:10:37 -05:00
user_email.go Simplify code 2016-07-17 08:46:54 +08:00
user_follow.go user - follow 2015-12-21 04:12:20 -08:00
user_key.go Simplify code 2016-07-17 08:46:54 +08:00
utils.go Simplify code 2016-07-17 08:46:54 +08:00

Gogs API client in Go

This package is still in experiment, see Wiki for documentation.

License

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