Documentation ¶
Overview ¶
Package validator providers utilities for user input validation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedHexChar ¶
AllowedHexChar checks if a string contains allowed hex characters.
func AllowedNumberChar ¶
AllowedNumberChar checks if a string contains allowed number characters.
func IsMap ¶
IsMap checks if the string can be parsed as a map.
Example: "key=value,key2=value2" is a map.
func IsNumberChar ¶
IsNumberChar returns true when the character is allowed when writing a number.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.