Use this protoc plugin to generate a go struct that satisfies the corresponding generated gRPC interface.
# Install
go get github.com/nstogner/protoc-gen-grpc-go-service
# How example/grpcd/service.go was generated...
cd $GOPATH/github.com/nstogner/protoc-gen-grpc-go-service/example
# This assumes that $GOPATH/bin is a part of $PATH
protoc --grpc-go-service_out=GoPrefix=protos,GoPackageName=services,GoImport=\"master/protos\":./services/ protos/task.proto