redis replace go redis

pull/236/head
Gordon 3 years ago
parent 31e923fc67
commit fcf2427878

@ -165,7 +165,7 @@ func Pb2Map(pb proto.Message) (map[string]interface{}, error) {
jsonbMarshaller := &jsonpb.Marshaler{
OrigName: true,
EnumsAsInts: true,
EmitDefaults: true,
EmitDefaults: false,
}
_ = jsonbMarshaller.Marshal(&_buffer, pb)
jsonCnt := _buffer.Bytes()

Loading…
Cancel
Save