diff --git a/gitea/list_options.go b/gitea/list_options.go new file mode 100644 index 0000000..dae89e8 --- /dev/null +++ b/gitea/list_options.go @@ -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 +} diff --git a/gitea/user_search.go b/gitea/user_search.go index 65ab980..5785bd7 100644 --- a/gitea/user_search.go +++ b/gitea/user_search.go @@ -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"