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