Documentation ¶
Overview ¶
The lrvalidate package is used to validate query parameters to be submitted with request
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
Validate verifies an interface{} only contains keys belonging to the allowed map of keys It returns a map[string]string if type assertion is successful and all params are validated It returns an error if the submitted params cannot be type asserted into map[string]string, or if the submitted params contain keys that is not included in the allowed map[string]bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.