Update import path and mirror project docs

This commit is contained in:
Ross Light
2018-11-12 14:37:53 -08:00
parent ded9eb899b
commit 30574010a0
127 changed files with 558 additions and 206 deletions

View File

@@ -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 {