Files
wire/internal/goose/testdata/Cleanup/foo/goose.go
Ross Light f8e446fa17 goose: use marker functions instead of comments
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>
2018-11-12 14:09:56 -08:00

12 lines
144 B
Go

//+build gooseinject
package main
import (
"codename/goose"
)
func injectBar() (*Bar, func()) {
panic(goose.Use(provideFoo, provideBar))
}