upgrade go-zero

This commit is contained in:
MaxToby
2021-04-01 23:19:31 +08:00
parent de003dbcfa
commit 502888a23e
6 changed files with 47 additions and 45 deletions

View File

@ -3,8 +3,9 @@ package generate
import (
"bytes"
"encoding/json"
"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor"
"reflect"
"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor"
)
var (
@ -19,6 +20,8 @@ var (
"[]int32": reflect.Slice,
"bool": reflect.Bool,
"struct": reflect.Struct,
"float32": reflect.Float32,
"float64": reflect.Float64,
}
)