diff options
| author | Bryan C. Mills <bcmills@google.com> | 2020-09-18 16:14:08 -0400 |
|---|---|---|
| committer | Bryan C. Mills <bcmills@google.com> | 2020-09-22 20:45:27 +0000 |
| commit | 8f8a8e8921eb46ffba9a5400a259e21eb2011bb7 (patch) | |
| tree | fc433302f0e6a57802ce332d33553423e611bc72 /src/encoding/binary/binary_test.go | |
| parent | d140c357442471ca0d56615811fb4226e99fadd5 (diff) | |
| download | go-8f8a8e8921eb46ffba9a5400a259e21eb2011bb7.tar.xz | |
cmd/go/internal/modload: eliminate QueryPackage
QueryPackage was a wrapper around QueryPattern with extra validation,
called only once from within the same package. Most of that validation
was already performed much earlier, in (*loader).Load. Inline the
remaining validation and remove the needless indirection.
For #36460
Change-Id: I108a01d416197db8f886889554e07b29f0c37f3f
Reviewed-on: https://go-review.googlesource.com/c/go/+/256057
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/encoding/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions
