Skip to content

krushn/protobuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to modify

  • 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/protobuf@v0.1.0

    go get github.com/krushn/protobuf@v0.1.0

About

grpc protobuf example

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages