Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidWindowsPathRegExp = regexp.MustCompile("[<>|:$@\"/%+*?]")
InvalidWindowsPathRegExp is a regex helper.
View Source
var UUIDRegExp = regexp.MustCompile("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[8|9|aA|bB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$")
UUIDRegExp is a regex helper.
Functions ¶
func NoEmptyStrings ¶
NoEmptyStrings validates that the string is not just whitespace characters (equal to [\r\n\t\f\v ])
func UUIDOrEmpty ¶
UUIDOrEmpty parses a UUID, returning nil for warnings if i is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.