goose: require pointer for first argument to goose.Bind (google/go-cloud#31)
Fixes google/go-cloud#15
This commit is contained in:
@@ -42,4 +42,4 @@ func provideBar() *Bar {
|
||||
|
||||
var Set = goose.NewSet(
|
||||
provideBar,
|
||||
goose.Bind(Fooer(nil), (*Bar)(nil)))
|
||||
goose.Bind((*Fooer)(nil), (*Bar)(nil)))
|
||||
|
||||
Reference in New Issue
Block a user