Commit 8fcd69d3 authored by Damien Lespiau's avatar Damien Lespiau Committed by Brad Fitzpatrick

cmd/go/internal/get: remove unused pkgImportPath

We can also remove the internal/load import as a result.

Found with honnef.co/go/tools/cmd/unused.

Change-Id: Ie70c5713e7a6f238158804acec07807c14f8e092
Reviewed-on: https://go-review.googlesource.com/41473Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 3fd976de
......@@ -5,7 +5,6 @@
package get
import (
"cmd/go/internal/load"
"cmd/go/internal/str"
"reflect"
"strings"
......@@ -82,11 +81,3 @@ func TestParseMetaGoImports(t *testing.T) {
}
}
}
func pkgImportPath(path string) *load.Package {
return &load.Package{
PackagePublic: load.PackagePublic{
ImportPath: path,
},
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment