// todo
// 待定
protoc 说明:
protoc --proto_path=. --micro_out=. --go_out=. ./greeter/greeter.proto
--proto_path等同于-I选项:
-IPATH, --proto_path=PATH
Specify the directory in which to search for imports. May be specified multiple times; directories will be searched in order. If not given, the current working directory is used.
--go_out : 生成.go文件后要存放的路径(这里应该是和.proto文件放在同一路径)
报错: --micro_out: protoc-gen-micro: 系统找不到指定的文件
go get github.com/micro/protoc-gen-micro
--go_out: protoc-gen-go: 系统找不到指定的文件。
go get -u github.com/golang/protobuf/protoc-gen-go
参考资料: