From 9619361ee28a10c0240f194ff57829679f3f1ae0 Mon Sep 17 00:00:00 2001 From: Michal Pristas Date: Wed, 1 Jul 2020 13:07:52 +0200 Subject: [PATCH] Use Go install for getting goimports (#19535) * go get off mode * use go install --- dev-tools/mage/fmt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-tools/mage/fmt.go b/dev-tools/mage/fmt.go index 02a8001895e..b4463696b81 100644 --- a/dev-tools/mage/fmt.go +++ b/dev-tools/mage/fmt.go @@ -74,8 +74,8 @@ func GoImports() error { return err } } else { - if err := gotool.Get( - gotool.Get.Package(filepath.Join(GoImportsImportPath)), + if err := gotool.Install( + gotool.Install.Package(filepath.Join(GoImportsImportPath)), ); err != nil { return err }