-
Update protobuf file at proto/message.proto
-
Generate grpc and interface type
export PATH="$PATH:$(go env GOPATH)/bin"
protoc --proto_path=./proto --go_out=./ --go-grpc_out=./ message.proto
-
Update module
git tag v0.1.0
git push origin v0.1.0
GOPROXY=proxy.golang.org go list -m github.com/krushn/[email protected]
go get github.com/krushn/[email protected]
krushn / protobuf Goto Github PK
View Code? Open in Web Editor NEWgrpc protobuf example