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
This commit is contained in:
Luca Steeb
2021-01-26 08:55:11 +07:00
committed by GitHub
parent 19bf7dafc5
commit a58291c0b8
45 changed files with 45 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
// Code generated by Wire. DO NOT EDIT.
//go:generate wire
//go:generate go run github.com/google/wire/cmd/wire
//+build !wireinject
package main