From ef9cb3a01d1697ea383e4cd315e1eaa84322d84a Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 16 Mar 2021 02:10:59 +0000 Subject: [PATCH] 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. --- strings.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/strings.go b/strings.go index 1bad22d..ddea864 100644 --- a/strings.go +++ b/strings.go @@ -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 -// as defined in RFC 1035, section 2.3.1: -// https://www.rfc-editor.org/rfc/rfc1035.html#section-2.3.1 +// as defined in RFC 1035, section 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 +// It also adheres to RFC 5891, section 4.2.3.1. // // In summary, the generated random string will: //