goose: support provider cleanup functions
Documented and updated appropriate providers to reflect. Reviewed-by: Tuo Shan <shantuo@google.com>
This commit is contained in:
9
internal/goose/testdata/PartialCleanup/foo/goose.go
vendored
Normal file
9
internal/goose/testdata/PartialCleanup/foo/goose.go
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
//+build gooseinject
|
||||
|
||||
package main
|
||||
|
||||
//goose:use Foo
|
||||
//goose:use Bar
|
||||
//goose:use Baz
|
||||
|
||||
func injectBaz() (Baz, func(), error)
|
||||
Reference in New Issue
Block a user