all: replace more panic(wire.Build(...)) calls with wire.Build(...); return stuff (google/go-cloud#248)

Fixes google/go-cloud#246
This commit is contained in:
Issac Trotts
2018-07-27 11:04:34 -07:00
committed by Ross Light
parent d870f380dd
commit 707f33ee6c
2 changed files with 8 additions and 2 deletions

View File

@@ -21,5 +21,6 @@ import (
)
func injectBaz() Baz {
panic(wire.Build(provideBaz))
wire.Build(provideBaz)
return Baz(0)
}