github.com/kaydxh/golang@v0.0.131/pkg/viper/code/error.template.proto (about)

     1  syntax = "proto3";
     2  
     3  // 错误码
     4  package youtu.ocr.api.code;
     5  import "google/protobuf/descriptor.proto";
     6  // import "github.com/googleapis/googleapis/google/rpc/code.proto";
     7  
     8  option go_package = "git.code.oa.com/yt-industry-ocr/yt-industry-ocr-backend/protobuf-spec/"
     9                      "code;code";
    10  
    11  message ErrorTemplate {
    12    repeated ErrorItem error_template = 1;
    13  
    14    message ErrorItem {
    15      string error_code = 1;
    16      string error_desc = 2;
    17      map<string, string> error_message = 3;
    18    }
    19  }
    20