Commit graph

3 commits

Author SHA1 Message Date
6543
688ee1978e All Function return http responce (#416)
Add Docs on how to deal with this breaking change

doResponse should return responce in all cases, to prosses things manualy if wanted

helper func return http response

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/416
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-14 02:37:09 +00:00
6543
27b4fdd986 Impruve Error Handling (#351)
ajust test for new gitea responce

dedub

Merge branch 'master' into impruve-error-handling

Merge branch 'master' into impruve-error-handling

Merge branch 'master' into impruve-error-handling

if 500 error has ErrMsg return this else return request witch was made

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/351
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-07-08 17:21:40 +00:00
6543
ffaf5e0d1e Add ListRepoCommits (#266)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: spawn2kill <spawn2kill@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/266
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-02-09 01:08:43 +00:00