diff --git a/bootstrap.sh b/bootstrap.sh index 89544cf87..016ca0172 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -22,4 +22,7 @@ then exit 1 fi -go mod download \ No newline at end of file +go get -u github.com/twitchtv/twirp/protoc-gen-twirp +go get -u google.golang.org/protobuf/cmd/protoc-gen-go + +go mod download diff --git a/pkg/service/wire_gen.go b/pkg/service/wire_gen.go index 62d017ed7..c7bddcffb 100644 --- a/pkg/service/wire_gen.go +++ b/pkg/service/wire_gen.go @@ -1,6 +1,6 @@ // Code generated by Wire. DO NOT EDIT. -//go:generate go run github.com/google/wire/cmd/wire +//go:generate wire //+build !wireinject package service diff --git a/tools/tools.go b/tools/tools.go index c426f7184..16c53ff0f 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -4,4 +4,5 @@ package tools import ( _ "github.com/maxbrunsfeld/counterfeiter/v6" + _ "github.com/twitchtv/twirp/protoc-gen-twirp" )