Skip to content
Browse files

start linking to for Go package documentation

For now, do this only for Go packages hosted on

Deal with older packages hosted on later. Some of them only
state their license in README and don't have explicit LICENSE files.
Their README files link to, which should be updated too.

Updates golang/go#33654.
  • Loading branch information
dmitshur committed Nov 23, 2019
1 parent 601ba28 commit 87442884a63db49c98c071043e27cea65659b43f
Showing with 1 addition and 1 deletion.
  1. +1 −1 package.go
@@ -133,7 +133,7 @@ func (h *packageHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) err
err = vec.RenderHTML(w,
elem.P(elem.Pre("go get -u "+h.Pkg.Spec)),
elem.H3(elem.A("Documentation", attr.Href(""+h.Pkg.Spec))),
elem.H3(elem.A("Documentation", attr.Href(""+h.Pkg.Spec))),
elem.H3(elem.A("Code", attr.Href(""+h.Pkg.Spec))),
elem.H3(elem.A("License", attr.Href(h.Pkg.LicenseURL))),

0 comments on commit 8744288

Please sign in to comment.
You can’t perform that action at this time.