package
0.0.0-20241108195307-fbd9df4430ea
Repository: https://github.com/proctorinc/banker.git
Documentation: pkg.go.dev
# Functions
DecodeOffsetCursor takes a base64 string and decotes it to extract the offset from a string based on "cursor:offset:NUMBER".
EncodeOffsetCursor takes an integer and encodes to a base64 string as "cursor:offset:NUMBER".
NewEmptyPageInfo returns a empty instance of PageInfo.
NewOffsetBasedPageInfo returns a new PageInfo object with data filled in, based on offset pagination.
NewOffsetPaginator creates a new offset paginator.
No description provided by the author
# Constants
No description provided by the author
# Structs
OffsetPaginator is the paginator for offset based pagination.
PageArgs is used as the query inputs.
PageInfo is the base struct for building PageInfo.
# Interfaces
No description provided by the author