package comment

This commit is contained in:
Asim 2015-12-02 23:09:48 +00:00
parent bc34008b65
commit 3be0672b82

View File

@ -51,6 +51,7 @@ greeter.proto
```shell
syntax = "proto3";
// package name is used as the service name for discovery
package go.micro.srv.greeter;
service Say {
@ -66,6 +67,9 @@ message Response {
}
```
**Note: Remember to set package name in the proto, it's used to generate
the service for discovery.**
### Generate code
```shell