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,20 @@
// Code generated by Wire. DO NOT EDIT.
//go:generate wire
//+build !wireinject
package main
import (
context2 "context"
)
// Injectors from wire.go:
func inject(context3 context2.Context, err2 struct{}) (context, error) {
context4, err := provide(context3)
if err != nil {
return context{}, err
}
return context4, nil
}