install/update proto-gen tools in bootstrap

This commit is contained in:
David Zhao
2021-06-02 22:56:58 -07:00
parent f7339ac4e3
commit 5d85257577
3 changed files with 6 additions and 2 deletions

View File

@@ -22,4 +22,7 @@ then
exit 1
fi
go mod download
go get -u github.com/twitchtv/twirp/protoc-gen-twirp
go get -u google.golang.org/protobuf/cmd/protoc-gen-go
go mod download

View File

@@ -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

View File

@@ -4,4 +4,5 @@ package tools
import (
_ "github.com/maxbrunsfeld/counterfeiter/v6"
_ "github.com/twitchtv/twirp/protoc-gen-twirp"
)