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>
Gitea >= 1.12.0 Use DefaultBranch on "", mimic this for older versions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/352
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
remove -binding- since sdk dont use it
Merge branch 'master' into add-edit-file
fix test
Merge branch 'master' into add-edit-file
add TEST
add Get/Create/Update-Contents
add missing structs
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/281
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
* Adds structures for repo file and blob APIs
* Updates Git Blob
* Moves IdentityOptions to Identity in repo_commit for reusability
* Formatting
* Fixed quote
* Fix to json variable
* Fixes to comments
* Adds copyright to header
* Removes unused code
* Makes author and committer pointers
* Removes Identity from being a pointer
* proper struct