From bee5b6c7c778dace3c370c1b4f5a2b0691154020 Mon Sep 17 00:00:00 2001 From: Ross Light Date: Mon, 28 Jan 2019 13:57:58 -0800 Subject: [PATCH] internal/wire: remove support for go-cloud import path (#111) --- internal/wire/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/wire/parse.go b/internal/wire/parse.go index 2054631..812c8b5 100644 --- a/internal/wire/parse.go +++ b/internal/wire/parse.go @@ -906,7 +906,7 @@ func isWireImport(path string) bool { if i := strings.LastIndex(path, vendorPart); i != -1 && (i == 0 || path[i-1] == '/') { path = path[i+len(vendorPart):] } - return path == "github.com/google/wire" || path == "github.com/google/go-cloud/wire" + return path == "github.com/google/wire" } func isProviderSetType(t types.Type) bool {