We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zhr@ubuntu:~/gospace/src/micro/rpc$ micro new --type "srv" micro/rpc/srv Creating service go.micro.srv.srv in /home/zhr/gospace/src/micro/rpc/srv ├── main.go ├── generate.go ├── plugin.go ├── handler │ └── srv.go ├── subscriber │ └── srv.go ├── proto/srv │ └── srv.proto ├── Dockerfile ├── Makefile └── README.md
download protobuf for micro:
brew install protobuf go get -u github.com/golang/protobuf/{proto,protoc-gen-go} go get -u github.com/micro/protoc-gen-micro
cd /home/zhr/gospace/src/micro/rpc/srv protoc --proto_path=.:$GOPATH/src --go_out=. --micro_out=. proto/srv/srv.proto
The text was updated successfully, but these errors were encountered:
No branches or pull requests
zhr@ubuntu:~/gospace/src/micro/rpc$ micro new --type "srv" micro/rpc/srv
Creating service go.micro.srv.srv in /home/zhr/gospace/src/micro/rpc/srv
├── main.go
├── generate.go
├── plugin.go
├── handler
│ └── srv.go
├── subscriber
│ └── srv.go
├── proto/srv
│ └── srv.proto
├── Dockerfile
├── Makefile
└── README.md
download protobuf for micro:
brew install protobuf
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
go get -u github.com/micro/protoc-gen-micro
cd /home/zhr/gospace/src/micro/rpc/srv
protoc --proto_path=.:$GOPATH/src --go_out=. --micro_out=. proto/srv/srv.proto
The text was updated successfully, but these errors were encountered: