//
pkg.gl
Category
github.com/adamesong/go-util
pagination
package
1.0.18
Repository:
https://github.com/adamesong/go-util.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
0
Files
68 SLOC
#
Functions
GetOffset
No description provided by the author
GetOffsetAndPageNum
GetOffset returns the number of records to skip before starting to return the records http://gorm.io/docs/query.html#Offset use GetOffset if parameter type is int64.
GetTheLastNumber
获得最后一页的最后一个是第几个.