Files
wire/internal/wire/testdata/PkgImport/want/wire_gen.go
Giau. Tran Minh f5e937daa9 fix: run wire with -mod=mod (#353)
* fix: run wire with -mod=mod

* chore: update test with mod flag
2022-05-26 22:31:39 -07:00

26 lines
413 B
Go

// Code generated by Wire. DO NOT EDIT.
//go:generate go run -mod=mod github.com/google/wire/cmd/wire
//go:build !wireinject
// +build !wireinject
package main
import (
"example.com/bar"
)
import (
_ "example.com/anon1"
_ "example.com/anon2"
)
// Injectors from wire.go:
func injectFooBar() FooBar {
foo := provideFoo()
barBar := bar.ProvideBar()
fooBar := provideFooBar(foo, barBar)
return fooBar
}