forgejo-sdk/gitea
6543 51d1bddc8a Make http requests with context (#417)
Functional Options dont have a reason for an error (at the moment)

fix test & code comment

md format

add SetSudo

always use Context

Add Migration Docu

Use Functional Options fo NewClient

Merge branch 'master' into with-ctx

optional exec http requests with context

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/417
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-09-15 16:21:40 +00:00
..
admin_cron.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
admin_org.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
admin_repo.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
admin_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
admin_user.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
attachment.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
client.go Make http requests with context (#417) 2020-09-15 16:21:40 +00:00
doc.go ask for go get from code.gitea.io/sdk/gitea 2016-11-11 21:52:21 +08:00
fork.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
git_blob.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
git_hook.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
go.mod [Add] VersionCheck (#215) 2020-01-27 06:20:49 +00:00
go.sum [Add] VersionCheck (#215) 2020-01-27 06:20:49 +00:00
hook.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_comment.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_comment_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_label.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
Issue_label_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_milestone.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_milestone_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_reaction.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_stopwatch.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_subscription.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_subscription_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_tracked_time.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
list_options.go added pagination options for listing requests (#205) 2020-02-05 07:59:55 +00:00
main_test.go Make http requests with context (#417) 2020-09-15 16:21:40 +00:00
notifications.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
notifications_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
oauth2.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
oauth2_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
org.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
org_member.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
org_member_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
org_team.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
pull.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
pull_review.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
pull_review_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
pull_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
release.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_branch.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_branch_protection.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_branch_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_collaborator.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_commit.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_commit_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_file.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_file_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_key.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_migrate.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_refs.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_tag.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_topics.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_topics_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_transfer.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_transfer_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_tree.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_watch.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_watch_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
settings.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
settings_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
status.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_app.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_email.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_follow.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_gpgkey.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_key.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_search.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
version.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
version_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00