Update msgpack library

This commit is contained in:
Trial97
2018-09-27 16:54:40 +03:00
committed by Dan Christian Bogos
parent 960c12827f
commit 7f5ced1689
2 changed files with 2 additions and 1 deletions

View File

@@ -287,6 +287,7 @@ type CodecMsgpackMarshaler struct {
func NewCodecMsgpackMarshaler() *CodecMsgpackMarshaler {
cmm := &CodecMsgpackMarshaler{new(codec.MsgpackHandle)}
mh := cmm.mh
mh.TimeNotBuiltin = true
mh.MapType = reflect.TypeOf(map[string]interface{}(nil))
mh.RawToString = true
return cmm