зеркало из https://github.com/golang/gddo.git
17b648fae2
When a URL path for a package page fails the check for module.CheckImportPath, redirect to the homepage. Otherwise, the page will 400 on pkg.go.dev. Change-Id: Ic337b968a3919b2e4fcd0ab4dd6b76c631f5edf9 Reviewed-on: https://go-review.googlesource.com/c/gddo/+/279035 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com> |
||
---|---|---|
.. | ||
assets | ||
app.yaml | ||
background.go | ||
browse.go | ||
browse_test.go | ||
client.go | ||
config.go | ||
crawl.go | ||
graph.go | ||
logging.go | ||
main.go | ||
main_test.go | ||
pkgsite.go | ||
pkgsite_test.go | ||
play.go | ||
template.go | ||
template_test.go |