Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetQueryParamListValues ¶
func GetQueryParamListValues(queryVars url.Values, varKey string, maxNumItems int) (items []string, err error)
GetQueryParamListValues obtains a list of strings from the provided queryVars, by parsing all values with key 'varKey' and splitting the values by commas, if they contain commas. Up to maxNumItems values are allowed in total.
func ValidatePositiveInt ¶
ValidatePositiveInt obtains the positive int value of query var defined by the provided varKey
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.