jason 69659e001c change 4 rokov pred
..
v1 69659e001c change 4 rokov pred
ReadMe.md d6753a8219 add files 4 rokov pred
enterprise_management.pb.go 394d9a18ee get phone and email 4 rokov pred
enterprise_management.proto 394d9a18ee get phone and email 4 rokov pred
log_service.pb.go eb1437b590 change 4 rokov pred
log_service.proto 023bf8ade2 change 4 rokov pred
setup.go 95be1060c4 change 4 rokov pred
thirdparty_management.pb.go 5968b16b7e 修改邮箱电话号 4 rokov pred
thirdparty_management.proto 5968b16b7e 修改邮箱电话号 4 rokov 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):

    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