Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidLimit = errors.New("invalid limit")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type ParseParams ¶
type Response ¶
func GetResponseData ¶
GetResponseData takes a slice of items, most presumably from a database query, and returns a Response object that contains the count of items and the next and previous timestamps for pagination.
Click to show internal directories.
Click to hide internal directories.