jason c45eee887d 运营后台日志 | 3 jaren geleden | |
---|---|---|
.. | ||
v1 | 3 jaren geleden | |
ReadMe.md | 3 jaren geleden | |
property_log_service.pb.go | 3 jaren geleden | |
property_log_service.proto | 3 jaren geleden | |
setup.go | 3 jaren geleden |
下载与安装protoc
工具
安装protoc Go插件:protoc-gen-go
方式1(默认带omitempty
):
go get -u github.com/golang/protobuf/protoc-gen-go
方式2(不带omitempty
):
git clone http://gitlab.sydip.com/repo/libs/go/gomodule
cd mod /github.com/golang/protobuf@v1.3.4/protoc-gen-go/generator
go build
cp protoc-gen-go $GOBIN/