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

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