wire: respect -record flag for tests (google/go-cloud#282)

Fixes google/go-cloud#281
This commit is contained in:
Issac Trotts
2018-08-06 13:35:16 -07:00
committed by Ross Light
parent 3a3760180d
commit 105b7fde1c
64 changed files with 662 additions and 150 deletions

View File

@@ -0,0 +1,17 @@
// Code generated by Wire. DO NOT EDIT.
//go:generate wire
//+build !wireinject
package main
// Injectors from wire.go:
func injectBar() (*Bar, func()) {
foo, cleanup := provideFoo()
bar, cleanup2 := provideBar(foo)
return bar, func() {
cleanup2()
cleanup()
}
}