Gitea: Golang SDK
Go to file
6543 c1cfc890f8 Refactor RepoWatch (#241)
Merge branch 'master' into refactor-repoWatch

Add ListMilestoneOption to ListRepoMilestones (#244)

use StateType

use PageSize

adjut test since gitea bug got fixed (#gitea/10047)

add TestMilestones

add optional ListMilestoneOption

format

Add ListOptions struct (#249)

same struct as in models/list_options.go

add mising license header

add ListOptions struct

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: gitea/go-sdk#249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>

[README] add import path (#239)

add import path

add import path to readme

Changelog v0.11.0 (#235)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: gitea/go-sdk#235
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

Add TestMyUser (#237)

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: gitea/go-sdk#237
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: gitea/go-sdk#239
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: gitea/go-sdk#244
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>

Merge branch 'master' into refactor-repoWatch

Add ListOptions struct (#249)

same struct as in models/list_options.go

add mising license header

add ListOptions struct

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: gitea/go-sdk#249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>

add TEST

fix GetMyWatchedRepos

[README] add import path (#239)

add import path

add import path to readme

Changelog v0.11.0 (#235)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: gitea/go-sdk#235
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

Add TestMyUser (#237)

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: gitea/go-sdk#237
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: gitea/go-sdk#239
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

refactor RepoWatch
 * add CheckRepoWatch
 * add GetMyWatchedRepos
 * minimize func_options on GetWatchedRepos
 * WatchRepo return nil/error
 * UnWatchRepo return nil/error

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: gitea/go-sdk#241
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-01-31 05:17:06 +00:00
.github Fix Links (#193) 2019-11-06 15:16:26 +00:00
gitea Refactor RepoWatch (#241) 2020-01-31 05:17:06 +00:00
.changelog.yml Changelog v0.11.0 (#235) 2020-01-28 06:15:46 +00:00
.drone.yml Add TestMyUser (#237) 2020-01-28 06:11:26 +00:00
.editorconfig switch gitter to discord for drone. (#62) 2017-06-16 10:46:36 +08:00
.gitattributes prevent merge conflicts | gitattributes eol=lf (#200) 2019-12-30 20:16:29 +00:00
.gitignore [Makefile] Add "test-instance"; Add "help" (#231) 2020-01-26 07:22:57 +00:00
.lgtm update LGTM pattern (#86) 2018-01-03 15:08:25 +02:00
.revive.toml use golangci-lint and revive for linting (match main repo) (#220) 2020-01-26 19:08:47 +00:00
CHANGELOG.md Changelog v0.11.0 (#235) 2020-01-28 06:15:46 +00:00
CONTRIBUTING.md README: add LICENCE and RELEASE badge (#208) 2020-01-03 01:01:10 +00:00
DCO Added contribution and maintainer files 2016-11-07 11:26:36 -02:00
LICENSE Updated licenses info 2016-11-07 11:26:36 -02:00
MAINTAINERS Update MAINTAINERS (#155) 2019-03-21 15:40:58 +00:00
Makefile Add TestMyUser (#237) 2020-01-28 06:11:26 +00:00
README.md [README] add import path (#239) 2020-01-29 02:03:08 +00:00

Gitea SDK for Go

License: MIT Release Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg Go Report Card GoDoc

This project acts as a client SDK implementation written in Go to interact with the Gitea API implementation. For further informations take a look at the current documentation.

Use it

import "code.gitea.io/sdk/gitea"

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is under the MIT License. See the LICENSE file for the full license text.