6543
6b6fdd91ce
UrlEscape Function Arguments used in UrlPath ( #273 )
...
close #271
* [x] add check if user/repo-name is empty
* [x] use net/url for links to encode
Co-authored-by: Andrew Thornton <art27@cantab.net>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/273
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2021-03-22 04:20:32 +08:00
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
Lunny Xiao
bbad0d915e
Add CreateRepoOption alias to fix #182 ( #184 )
2019-08-02 15:44:35 +00:00
Lunny Xiao
38803cbe75
Refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs ( #171 )
...
* refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs
* fix testing
2019-05-11 18:38:52 +03:00
Lunny Xiao
c9135ef778
fix most of all the lint errors
2016-11-10 17:44:00 +08:00
Thomas Boerger
4218c36205
Moved source files into subfolder
2016-11-07 11:26:36 -02:00