Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOffsetAndPageNum ¶
func GetOffsetAndPageNum(pageNum, pageSize string, totalAmount int) (offSet, realPageNum, pageSizeInt int)
GetOffset returns the number of records to skip before starting to return the records http://gorm.io/docs/query.html#Offset
func GetTheLastNumber ¶
获得最后一页的最后一个是第几个
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.