goose: add optional provider inputs
Reviewed-by: Tuo Shan <shantuo@google.com>
This commit is contained in:
7
internal/goose/testdata/OptionalPresent/foo/foo_goose.go
vendored
Normal file
7
internal/goose/testdata/OptionalPresent/foo/foo_goose.go
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
//+build gooseinject
|
||||
|
||||
package main
|
||||
|
||||
//goose:use provideBar
|
||||
|
||||
func injectBar(foo) bar
|
||||
Reference in New Issue
Block a user