package
0.0.0-20240815083739-86b9d5918af2
Repository: https://github.com/onsdigital/dp-geodata-api.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
ParseMultiArgs generates a ValueSet from multi value query parameters.
WherePart returns the part of the where clause between parens, as in: ( geography_code IN ( ..
# Structs
ValueRange holds the low and high values for a range.
ValueSet holds all the single values and ranges for a for a multi-valued query parameter.
# Type aliases
When operating on a Single, the value of s on return can be: nil - delete this Single ptr to a new value - changes this Single ptr to the current value - does not change this Single
Similarly when operating on a Range, the value of l and h on return can be: nil - delete this Range ptrs to new values - change this Range ptrs to current values - does not change this Range
See the example changeCallback in where_test.go.