commit | 101e2fd552d20d264d9b8e9247bb7f1857db9f6b | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Thu Sep 17 17:25:28 2020 -0400 |
committer | Julie Qiu <julie@golang.org> | Thu Sep 17 22:14:33 2020 +0000 |
tree | c30cc3021dd0aa1b4b9447041ba98e712b3641d7 | |
parent | f1568faf809d8f1e15183e46878a4a2eec1206c4 [diff] |
internal/frontend: always read from package_imports This is a step towards removing the use-units eperiment. The use-units experiment flag is removed from fetchImportsDetails, so that data about imports is always read from package_imports, instead of the imports table when using the legacy code path. The package_imports table has been rolled out to 100% for a while, since it was previously gated behind the use-package-imports flag. Now that the use-path-info experiment flag is removed, reading from package_imports should always return the expected data. In imports_test.go, TestFetchImportsDetails and TestFetchImportedByDetails are updated to remove some references to legacy structs. firstVersionedPackage is deleted. For golang/go#39629 Change-Id: I141b24d2dc52ba8812efea1d58351ef27ef57f64 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/255779 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
Pkg.go.dev 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 pkg.go.dev, 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.
Godoc.org redirect: Longer term, we are working towards redirecting godoc.org traffic to pkg.go.dev. We know that there are features available on godoc.org that users want to see on pkg.go.dev, and we want to ensure that we address these. We’ve been keeping track of issues related to redirecting godoc.org 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 pkg.go.dev today for all of their needs and to file feedback! You can redirect all of your requests from godoc.org to pkg.go.dev, by clicking Always use pkg.go.dev
at the top of any page on godoc.org.
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 go.dev/about.
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 go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
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.