Fix: Code generator & API (#52)

This commit is contained in:
JimhHan 2020-12-10 11:52:05 +08:00 committed by GitHub
parent f1eb5e3d08
commit 9c0f0a0cd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 71 additions and 106 deletions

View file

@ -4,8 +4,9 @@ import "path/filepath"
//go:generate go install -v google.golang.org/protobuf/cmd/protoc-gen-go
//go:generate go install -v google.golang.org/grpc/cmd/protoc-gen-go-grpc
//go:generate go get -v -u github.com/gogo/protobuf/protoc-gen-gofast
//go:generate go install -v github.com/gogo/protobuf/protoc-gen-gofast
//go:generate go run ../infra/vprotogen/main.go
//go:generate go run ../infra/vprotogen/main.go -pwd ./..
// ProtoFilesUsingProtocGenGoFast is the map of Proto files
// that use `protoc-gen-gofast` to generate pb.go files