chore(docs): remove redundant RFC URLs

pkg.go.dev parses "RFC 1035, section 2.3.1" style text and links it to
the relevant place. So there's no need to also include a full URL for
documentation purposes.
This commit is contained in:
2021-03-16 02:10:59 +00:00
parent 6a03122985
commit ef9cb3a01d

View File

@@ -164,11 +164,9 @@ func UnicodeString(n int, alphabet []rune) (string, error) {
} }
// DNSLabel returns a random string of n length in a DNS label compliant format // DNSLabel returns a random string of n length in a DNS label compliant format
// as defined in RFC 1035, section 2.3.1: // as defined in RFC 1035, section 2.3.1.
// https://www.rfc-editor.org/rfc/rfc1035.html#section-2.3.1
// //
// It also adheres to RFC 5891, section 4.2.3.1: // It also adheres to RFC 5891, section 4.2.3.1.
// https://www.rfc-editor.org/rfc/rfc5891.html#section-4.2.3.1
// //
// In summary, the generated random string will: // In summary, the generated random string will:
// //