When determining DepsErrors for packages, we were trying to sort errors by the top package on their ImportStack (which would likely be the package the error was generated for) to get a deterministic error order. The problem is that some PackageErrors don't have ImportStacks set on them. Fall back to sorting the errors by the error text (instead of making things more complicated by tracking the packages that produced the errors more closely). Fixes #59905 Change-Id: Id305e1e70801f8909fd6463383b8eda193559787 Reviewed-on: https://go-review.googlesource.com/c/go/+/501978 Run-TryBot: Michael Matloob <email@example.com> Reviewed-by: David Chase <firstname.lastname@example.org> TryBot-Result: Gopher Robot <email@example.com> Reviewed-by: Bryan Mills <firstname.lastname@example.org>
|13 hours ago|
|.github||2 months ago|
|api||20 hours ago|
|doc||1 day ago|
|lib/time||1 month ago|
|misc||2 weeks ago|
|src||13 hours ago|
|test||5 days ago|
|.gitignore||2 months ago|
|CONTRIBUTING.md||2 months ago|
|README.md||7 months ago|
|SECURITY.md||1 year ago|
|codereview.cfg||2 years ago|
|go.env||4 days ago|
The Go Programming Language
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Download and Install
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
Install From Source
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.