code: func IsDNS1035Label(value string) []string {
  	var errs []string
  	if len(value) > DNS1035LabelMaxLength {
  		errs = append(errs, MaxLenError(DNS1035LabelMaxLength))
  	}
  	if !dns1035LabelRegexp.MatchString(value) {
  		errs = append(errs, RegexError(dns1035LabelErrMsg, dns1035LabelFmt, "my-name", "abc-123"))
  	}
  	return errs
  }
docs: // IsDNS1035Label tests for a string that conforms to the definition of a label in
  // DNS (RFC 1035).