jason 754f7e8cac change 3 lat temu
..
v1 754f7e8cac change 3 lat temu
ReadMe.md 72b297a186 init 4 lat temu
log_service.pb.go bea5e403db change 4 lat temu
log_service.proto bea5e403db change 4 lat temu
project_management.pb.go d2e869e7c3 change 4 lat temu
project_management.proto d2e869e7c3 change 4 lat temu
setup.go 31a377f5a3 更新告警配置 4 lat temu
thirdparty_management.pb.go e8ac861692 修改邮箱和手机号 4 lat temu
thirdparty_management.proto e8ac861692 修改邮箱和手机号 4 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