From af97332187419cfe422e1451ef0f13ad49f038ef Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Wed, 14 Jan 2015 11:45:42 +1100 Subject: [PATCH] cmd/godoc: send go-source meta tag for golang.org/x repos This allows godoc.org to link to the source code. I chose to link to github.com instead of googlesource.com because their file browser is better. Details here: https://github.com/golang/gddo/commit/864b1c0aba009e37d301365a2f6f6cf51a3caef3 Change-Id: I962b3fadc822e753245f52240937be5c7e158dc7 Reviewed-on: https://go-review.googlesource.com/2719 Reviewed-by: Brad Fitzpatrick --- cmd/godoc/x.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/godoc/x.go b/cmd/godoc/x.go index 0815152d..31934b43 100644 --- a/cmd/godoc/x.go +++ b/cmd/godoc/x.go @@ -69,6 +69,7 @@ var xTemplate = template.Must(template.New("x").Parse(` +