Skip to content

x/pkgsite: add sourcegraph redirection link for code components - #9

Open
joshuabezaleel wants to merge 1 commit into
golang:masterfrom
joshuabezaleel:sourcegraph-redirection-usage-link
Open

x/pkgsite: add sourcegraph redirection link for code components#9
joshuabezaleel wants to merge 1 commit into
golang:masterfrom
joshuabezaleel:sourcegraph-redirection-usage-link

Conversation

@joshuabezaleel

Copy link
Copy Markdown

The godoc.org has a "Uses" link that redirects to Sourcegraph website for showing the usage/callers of types, functions, and methods.
This PR implements the same functionality for pkg.go.dev. Much inspired by Quinn's (@sqs) PR on gddo (github.com/golang/gddo/pull/259).
A short demo can be seen at https://youtu.be/OathLmQVM5g.

Fixes #39703

… methods

The godoc.org has a Uses link that redirects to Sourcegraph website for showing the usage/callers of types, functions, and methods.
This PR implements the same funcitonality for pkg.go.dev. Much inspired by Quinn's (sqs) PR on gddo (github.com/golang/gddo/pull/259).
A short demo can be seen at https://youtu.be/OathLmQVM5g.

Fixes #39703
@google-cla google-cla Bot added the cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change. label Oct 9, 2020
@gopherbot

Copy link
Copy Markdown
Contributor

This PR (HEAD: 049a7d9) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/pkgsite/+/260957 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot

Copy link
Copy Markdown
Contributor

Message from Jonathan Amsterdam:

Patch Set 1:

(3 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/260957.
After addressing review feedback, remember to publish your drafts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants