wire: use package names to disambiguate variables (google/go-cloud#386)
This commit is contained in:
committed by
Ross Light
parent
fab79bd5bd
commit
c999a4d1b5
@@ -12,9 +12,9 @@ import (
|
||||
// Injectors from wire.go:
|
||||
|
||||
func inject(context3 context2.Context, err2 struct{}) (context, error) {
|
||||
context4, err := provide(context3)
|
||||
mainContext, err := provide(context3)
|
||||
if err != nil {
|
||||
return context{}, err
|
||||
}
|
||||
return context4, nil
|
||||
return mainContext, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user