]> Cypherpunks repositories - gostls13.git/commitdiff
reflect: add URL scheme for godoc hyperlinking
authorJoe Tsai <joetsai@digital-static.net>
Wed, 27 Sep 2017 17:36:04 +0000 (10:36 -0700)
committerJoe Tsai <thebrokentoaster@gmail.com>
Wed, 27 Sep 2017 18:23:25 +0000 (18:23 +0000)
Adding the "https://" scheme allows godoc to properly detect
the URL and provide a hyperlink for it.

Change-Id: I76dc309368c86975de01bc6e6e9196037b2114d7
Reviewed-on: https://go-review.googlesource.com/66570
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/reflect/type.go

index 0ecc2b3bca8b60ae834f7bdd267862769b454a02..2ab3f6bb16fcbf8f3acd3d6bb7699d5e05451769 100644 (file)
@@ -212,7 +212,7 @@ type Type interface {
 // t.FieldByName("x") is not well defined if the struct type t contains
 // multiple fields named x (embedded from different packages).
 // FieldByName may return one of the fields named x or may report that there are none.
-// See golang.org/issue/4876 for more details.
+// See https://golang.org/issue/4876 for more details.
 
 /*
  * These data structures are known to the compiler (../../cmd/internal/gc/reflect.go).