6543
aa13606bc6
Add Helper for Optional Values ( #448 )
...
Add helper for optional bool, string & int64
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/448
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
2020-11-13 05:27:28 +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
6543
5b418aa8c6
Add CreateBranch ( #407 )
...
Add CreateBranch
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/407
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-09-07 04:24:59 +00:00
6543
2e81813c45
Add BranchProtection functions ( #341 )
...
Merge branch 'master' into branch-protection
Merge branch 'master' into branch-protection
Merge branch 'master' into branch-protection
Merge branch 'master' into branch-protection
Merge branch 'master' into branch-protection
fix + add TESTS
first draft
Add structs and placeholder
Update Branch struct
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/341
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-05-21 17:52:51 +00:00
6543
3c36bd251b
Copy DeleteFileOptions struct fields into UpdateFileOptions struct ( #330 )
2020-05-21 10:13:32 +00:00
6543
50560273b9
Add Branch Deletion ( #317 )
...
add TEST for branches
dont return empty branch on error
add DeleteBranch func
Co-authored-by: lafriks <lafriks@noreply.gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/317
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-04-24 15:39:40 +00:00