Refactor RepoWatch #241
|
@ -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
11
gitea/list_options.go
Normal 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
|
||||
}
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user