package
0.0.0-20250301080608-94dd30a0f6c7
Repository: https://github.com/gurch101/gowebutils.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseJSONMapInt64 parses a map[string]any and returns the value as an int64.
ParseJSONMapString parses a map[string]any and returns the value as a string.
ParsePaginationMetadata calculates the pagination metadata based on the total number of records, the current page, and the page size.
ParseQSBool returns a boolean value from the query string or the provided default value if no matching key can be found.
ParseQSInt returns an integer value from the query string or the provided default value if no matching key can be found.
ParseQSString returns a string value from the query string or the provided default value if no matching key can be found.
Retrieve the "id" URL parameter from the current request context, then convert it to an integer and return it.
# Variables
No description provided by the author
ErrInvalidPathParam is returned when the path parameter is invalid.
# Structs
Filters contains common query string parameters for pagination and sort.
PaginationMetadata contains metadata about the current page of paginated data.