Files
wire/internal/wire/testdata/Cleanup/want/wire_gen.go
Luca Steeb a58291c0b8 internal/wire: use full go run command in go:generate comment (#268)
Change the go:generate command to use the full go run ... command
to ensure the version specified in the current go module is used
instead of the global binary.

Fixes #160
2021-01-25 17:55:11 -08:00

18 lines
308 B
Go

// Code generated by Wire. DO NOT EDIT.
//go:generate go run github.com/google/wire/cmd/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()
}
}