To avoid making this CL too large, I did not migrate the existing goose comments through the repository. This will be addressed in a subsequent CL. Reviewed-by: Tuo Shan <shantuo@google.com>
15 lines
186 B
Go
15 lines
186 B
Go
//+build gooseinject
|
|
|
|
package main
|
|
|
|
import (
|
|
"codename/goose"
|
|
)
|
|
|
|
func injectFooBar() FooBar {
|
|
panic(goose.Use(
|
|
provideBar,
|
|
provideFooBar,
|
|
goose.Bind(Fooer(nil), (*Bar)(nil))))
|
|
}
|