Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcPaginationStartEnd ¶
CalcPaginationStartEnd calculates the slice offsets needed to perform pagination for desired page, pageSize and length if page=0 it will return slice offsets 0:length-1 for a "get all entries" page.
func StrToIntDefault ¶
StrToIntDefault converts str to its equivalent int, falling back to def if str does not represent an int.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.