content/static,devtools,internal: update header to spec

This change implements the latest designs for the site header,
adds a new fixed header to details pages, and updates to the
latest Closure Compiler Docker image tag to support an API used
by the new fixed header implementation (ResizeObserver).

The global header is no longer sticky, but on the details page
a hybrid header that shows a combination of the header content
and details tabs is displayed when the inline tab list goes out
of view.

Both the inline and fixed tab lists are responsive in that the
elements are pushed to an overflow container when they can no
longer fit on screen. A native <select> tag is used for this to
avoid implementing a popup menu (perhaps that can be done in a
future change).

The mechanism used to copy the current path to the clipboard has
also been updated to avoid hacks that didn’t play well with
screen readers. This method does not work on iOS, but a message
is displayed to the user in that case.

Fixes golang/go#37110

Change-Id: I2b8b73d7e85c122992b106e9b89d7e207be9f099
Run-TryBot: Andrew Bonventre <>
TryBot-Result: kokoro <>
Reviewed-by: Jamal Carvalho <>
19 files changed
tree: fa11e04b4170af46543d240ea3c3be5f01a5f82c
  1. .gitignore
  2. .prettierignore
  3. .prettierrc.yaml
  8. all.bash
  9. cloudbuild.yaml
  10. cmd/
  11. content/
  12. devtools/
  13. doc/
  14. go.mod
  15. go.sum
  16. internal/
  17. migrations/
  18. third_party/

A site for discovering Go packages is a website for discovering and evaluating Go packages and modules.

You can check it out at

Roadmap launched in November 2019, and is currently under active development by the Go team.

Here's what we are currently working on:

  • Design updates: We have some design changes planned for, to address UX feedback that we have received. You can expect a more cohesive search and navigation experience coming soon. We plan to share these designs for feedback once they are ready.

  • redirect: Longer term, we are working towards redirecting traffic to We know that there are features available on that users want to see on, and we want to ensure that we address these. We’ve been keeping track of issues related to redirecting traffic on Go issue #39144. These issues will be prioritized in the next few months. We also plan to continue improving our license detection algorithm.

  • Search improvements: We’ll be improving our search experience based on feedback in Go issue #37810, to make it easier for users to find the dependencies they are looking for and make better decisions around which ones to import.

We encourage everyone to begin using today for all of their needs and to file feedback! You can redirect all of your requests from to, by clicking Always use at the top of any page on


If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.

For answers to frequently asked questions, see

You can also chat with us on the #tools slack channel on the Gophers slack.


We would love your help!

Our canonical Git repository is located at There is a mirror of the repository at

To contribute, please read our contributing guide.


Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.