From: Joe Tsai Date: Wed, 27 Sep 2017 17:36:04 +0000 (-0700) Subject: reflect: add URL scheme for godoc hyperlinking X-Git-Tag: go1.10beta1~952 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d94078f04017533a89661514035d565261240ebb;p=gostls13.git reflect: add URL scheme for godoc hyperlinking 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 Run-TryBot: Joe Tsai TryBot-Result: Gobot Gobot --- diff --git a/src/reflect/type.go b/src/reflect/type.go index 0ecc2b3bca..2ab3f6bb16 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -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).