goose: require pointer for first argument to goose.Bind (google/go-cloud#31)
Fixes google/go-cloud#15
This commit is contained in:
@@ -24,5 +24,5 @@ func injectFooBar() FooBar {
|
||||
panic(goose.Build(
|
||||
provideBar,
|
||||
provideFooBar,
|
||||
goose.Bind(Fooer(nil), (*Bar)(nil))))
|
||||
goose.Bind((*Fooer)(nil), (*Bar)(nil))))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user