Update import path and mirror project docs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -881,7 +881,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/go-cloud/wire"
|
||||
return path == "github.com/google/wire" || path == "github.com/google/go-cloud/wire"
|
||||
}
|
||||
|
||||
func isProviderSetType(t types.Type) bool {
|
||||
|
||||
Reference in New Issue
Block a user