commit | 201b9f6d6b46e0ae311e8a8b2cbe2ad6652f5680 | [log] [tgz] |
---|---|---|
author | Matt T. Proud <mtp@google.com> | Thu Oct 03 07:57:46 2024 +0000 |
committer | Gopher Robot <gobot@golang.org> | Mon Oct 28 17:49:32 2024 +0000 |
tree | 830ceedb40a84fca78090ca74840505316c03b73 | |
parent | b33fc480a25c30d38104a9efaf73326c888e8557 [diff] |
cmd/go: clarify that -coverpkg uses import paths This change amends the long-form help output for 'go help build' and 'go help testflag' to specify that the '-coverpkg' flag operates explicitly on import paths as well as package names. Import paths are fundamental for precise specification of packages versus unqualified package names, and the naming of the flag '-coverpkg' and its original documentation leads a user to assume that it only operates on the simple, unqualified package name form. The situation warrants clarification. Fixes #69653 Change-Id: Ifde6a974405ce1614e28898fc2b92ed5bad94e57 GitHub-Last-Rev: 466c662a70d13560f2fb7affb0d7d900889c7aa7 GitHub-Pull-Request: golang/go#69655 Reviewed-on: https://go-review.googlesource.com/c/go/+/616257 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Matloob <matloob@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
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 Attribution 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.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
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.