Merge branch 'master' into update-notifications
Merge branch 'master' into update-notifications
rm nonesence - dont know why i put it there
add paggination to ListNotification functions
refactor
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/339
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
notification Check now always return json
make fmt relicts
CheckNotifications: one api call is enouth
add getResponseWithStatus to handle Response customized based on Status
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/308
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>