02b70d4b2e
pkg.go.dev doesn't need the go-source meta tag to be set when the source repository is hosted on GitHub; it detects that from the go-import meta tag and does the rest itself. Only the protobuf repo still needs it: its canonical source repository is on Gerrit but it prefers a mirror repository on GitHub to be used for viewing the source code. Also make the redirect message nicer, like CL 293415 did for golang.org/x repos. Change-Id: I489f17163fb574e0fb8edb8575af8b66ca7e5251 Reviewed-on: https://go-review.googlesource.com/c/website/+/485355 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> |
||
---|---|---|
.. | ||
.gcloudignore | ||
README.md | ||
app.yaml | ||
main.go |
README.md
This trivial App Engine app serves the small meta+redirector HTML pages for https://google.golang.org/. For example:
- https://google.golang.org/appengine
- https://google.golang.org/cloud
- https://google.golang.org/api/
- https://google.golang.org/api/storage/v1
- https://google.golang.org/grpc
The page includes a meta tag to instruct the go tool to translate e.g. the
import path "google.golang.org/appengine" to "github.com/golang/appengine".
See go help importpath
for the mechanics.
To update the public site, run:
gcloud app --project=golang-org deploy --promote app.yaml