fix: run wire with -mod=mod (#353)
* fix: run wire with -mod=mod * chore: update test with mod flag
This commit is contained in:
@@ -151,7 +151,7 @@ Wire will produce an implementation of the injector in a file called
|
||||
```go
|
||||
// Code generated by Wire. DO NOT EDIT.
|
||||
|
||||
//go:generate go run github.com/google/wire/cmd/wire
|
||||
//go:generate go run -mod=mod github.com/google/wire/cmd/wire
|
||||
//+build !wireinject
|
||||
|
||||
package main
|
||||
|
||||
Reference in New Issue
Block a user