jason aa1fdf6b87 change 1 anno fa
..
v1 9425008c99 change 2 anni fa
ReadMe.md 85d4f438f2 物业公司init 3 anni fa
common_service.pb.go 49f751ed07 change 2 anni fa
common_service.proto 49f751ed07 change 2 anni fa
company_service.pb.go 31c694dec0 change 2 anni fa
company_service.proto 31c694dec0 change 2 anni fa
garden_service.pb.go 452b681b3c change 3 anni fa
garden_service.proto 452b681b3c change 3 anni fa
property_log_service.pb.go 6282c9e0c5 增加操作日志 3 anni fa
property_log_service.proto 6282c9e0c5 增加操作日志 3 anni fa
setup.go aa1fdf6b87 change 1 anno fa
system_service.pb.go 49f751ed07 change 2 anni fa
system_service.proto 49f751ed07 change 2 anni fa
thirdparty_service.pb.go d81cf24493 手机号登录+重置、修改密码 3 anni fa
thirdparty_service.proto d81cf24493 手机号登录+重置、修改密码 3 anni fa

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):

    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