]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modload: inline doImport into doPkg
authorBryan C. Mills <bcmills@google.com>
Wed, 25 Jul 2018 18:55:42 +0000 (14:55 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 31 Jul 2018 02:00:47 +0000 (02:00 +0000)
commit682faae2e32b8b39ff812e8d1d31591125d31f3f
tree965ca578843a9c7a16adb9298628d189f6cb9bde
parentdb2f680fdfc9118013cb3996e3ea8664c196e6ba
cmd/go/internal/modload: inline doImport into doPkg

doImport is itself a thin wrapper around Import, and doPkg is its only call
site. I'm having trouble following what doPkg is doing due to the indirection,
so I'm removing it.

Change-Id: I6167be68e869a36010a56a5869df50b1145ac813
Reviewed-on: https://go-review.googlesource.com/125837
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/internal/modload/load.go