gopkg icon indicating copy to clipboard operation
gopkg copied to clipboard

Source code links on godoc.org pages

Open cookieo9 opened this issue 10 years ago • 2 comments

GoDoc.org (like godoc) provides links in the documentation to the source code when the viewer clicks on the function name.

For code hosted on the major sites (github, bitbucket, google code) the links are present and work correctly, but no links are present on gopkg.in packages.

cookieo9 avatar Jun 04 '14 09:06 cookieo9

Indeed. This was discussed with Andrew Gerrand and Gary Burd. We just need to tweak godoc.org to support source code references on vanity URLs. I'll keep this open to track this work too.

niemeyer avatar Jul 01 '14 13:07 niemeyer

@niemeyer I know this one is just a bit old, but curious if you ever made headway on how to grab the source code uri from a vanity path for a package.

shellscape avatar Oct 07 '21 03:10 shellscape

No, never looked into this, sorry. :(

niemeyer avatar Oct 20 '23 10:10 niemeyer