Documentation
¶
Index ¶
Constants ¶
View Source
const DNS1123SubdomainMaxLength int = 253
Variables ¶
This section is empty.
Functions ¶
func IsDNS1123Subdomain ¶
IsDNS1123Subdomain tests for a string that conforms to the definition of a subdomain in DNS (RFC 1123).
func MaxLenError ¶
MaxLenError returns a string explanation of a "string too long" validation failure.
func RegexError ¶
RegexError returns a string explanation of a regex validation failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.