Refactor RepoWatch #241

Merged
lunny merged 5 commits from 6543/go-sdk:refactor-repoWatch into master 2020-01-31 05:17:10 +00:00
3 changed files with 21 additions and 0 deletions
Showing only changes of commit b29fa007e4 - Show all commits

View File

@ -12,6 +12,12 @@ 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](https://godoc.org/code.gitea.io/sdk/gitea).
## Use it
```go
import "code.gitea.io/sdk/gitea"
```
## Contributing
Fork -> Patch -> Push -> Pull Request

11
gitea/list_options.go Normal file
View File

@ -0,0 +1,11 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package gitea
// ListOptions options for using Gitea's API pagination
type ListOptions struct {
Page int
PageSize int
}

View File

@ -1,3 +1,7 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package gitea
import "fmt"