User list
This commit is contained in:
12
app/repository/pagination.go
Normal file
12
app/repository/pagination.go
Normal file
@ -0,0 +1,12 @@
|
||||
package repository
|
||||
|
||||
type Pagination struct {
|
||||
PageSize int
|
||||
Page int
|
||||
}
|
||||
|
||||
func (p *Pagination) New() *Pagination {
|
||||
p.PageSize = 50
|
||||
p.Page = 1
|
||||
return p
|
||||
}
|
||||
Reference in New Issue
Block a user