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

2
glide.lock generated
View File

@@ -61,7 +61,7 @@ imports:
- name: github.com/streadway/amqp
version: 70e15c650864f4fc47f5d3c82ea117285480895d
- name: github.com/ugorji/go
version: 5a66da2e74afec77056667aacd61e97b6ea8f661
version: 99ea80c8b19ad777f970258ca09c5c2d5826f0fd
subpackages:
- codec
- name: golang.org/x/net