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>
17 lines
283 B
Go
17 lines
283 B
Go
//+build gooseinject
|
|
|
|
package main
|
|
|
|
import (
|
|
stdcontext "context"
|
|
|
|
"codename/goose"
|
|
)
|
|
|
|
// The notable characteristic of this test is that there are no
|
|
// parameter names on the inject stub.
|
|
|
|
func inject(stdcontext.Context, struct{}) (context, error) {
|
|
panic(goose.Use(provide))
|
|
}
|