golang/go

x/pkgsite: redirect based on custom import paths

Open

#44,520 opened on Feb 23, 2021

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Go (19,008 forks)batch import
NeedsFixhelp wantedpkgsite

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/SSLMate/go-pkcs12

What is your user agent?

Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Screenshot

pkg go dev png

What did you do?

Navigated to https://pkg.go.dev/github.com/SSLMate/go-pkcs12

What did you expect to see?

Be redirected to the documentation for software.sslmate.com/src/go-pkcs12 as this is the canonical import path for the package: https://github.com/SSLMate/go-pkcs12/blob/master/pkcs12.go#L18

godoc.org exhibited the expected behavior.

What did you see instead?

I saw documentation for the package github.com/SSLMate/go-pkcs12, even though this is not the canonical import path.

Contributor guide