forgejo-sdk/gitea/list_options.go
6543 0cf299db6f 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: https://gitea.com/gitea/go-sdk/pulls/249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-01-30 14:02:52 +00:00

11 lines
290 B
Go

// 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
}