Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DNS1123SubdomainInvalidCharSet = regexp.MustCompile("[^a-z0-9-.]") DNS1123SubdomainInvalidStartChartSet = regexp.MustCompile("^[^a-z0-9]+") )
Functions ¶
func ToDNS1123Subdomain ¶
ToDNS1123Subdomain removes all invalid char for a DNS1123Subdomain string and transform it to a valid format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.