micro-tests/server/grpc/generate.go

5 lines
398 B
Go
Raw Normal View History

package grpc
//go:generate go get google.golang.org/grpc/cmd/protoc-gen-go-grpc
//go:generate protoc -I./proto -I$GOPATH/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.9.5/third_party/googleapis -I. --go-grpc_out=paths=source_relative:./proto --go_out=paths=source_relative:./proto --go-micro_out=components=micro|rpc,debug=true,standalone=true,paths=source_relative:./gproto proto/test.proto