jason f07b97fd5c 手动催缴增加短信逻辑 1 rok pred
..
v1 f07b97fd5c 手动催缴增加短信逻辑 1 rok pred
ReadMe.md c9fcbfa2b8 小区init 3 rokov pred
common_service.pb.go 29341cafa6 change 2 rokov pred
common_service.proto 29341cafa6 change 2 rokov pred
company_service.pb.go 66f5450899 公司统计相关 2 rokov pred
company_service.proto 66f5450899 公司统计相关 2 rokov pred
device_service.pb.go 02c5b60cc1 change 1 rok pred
device_service.proto 02c5b60cc1 change 1 rok pred
garden_service.pb.go f7afd09296 change 1 rok pred
garden_service.proto f7afd09296 change 1 rok pred
household_service.pb.go 0441e29fab change 2 rokov pred
household_service.proto 0441e29fab change 2 rokov pred
setup.go 57317a81a4 change 1 rok pred
system_service.pb.go f07b97fd5c 手动催缴增加短信逻辑 1 rok pred
system_service.proto f07b97fd5c 手动催缴增加短信逻辑 1 rok pred
thirdparty_service.pb.go f07b97fd5c 手动催缴增加短信逻辑 1 rok pred
thirdparty_service.proto f07b97fd5c 手动催缴增加短信逻辑 1 rok pred

ReadMe.md

必要条件

  1. 下载与安装protoc工具

    https://github.com/protocolbuffers/protobuf/releases

  2. 安装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/
    

生成说明

  1. 普通生成 protoc --go_out=. *.proto
  2. 支持rpc protoc --go_out=plugins=grpc:. *.proto