File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ module github.com/jakm/msgpack-cli
33go 1.14
44
55require (
6- github.com/docopt/docopt-go v0.0.0-20141128170934-854c423c8108
7- github.com/ugorji/go v0.0.0-20151014130314-8a2a3a8c488c
6+ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
7+ github.com/ugorji/go/codec v1.1.7
88)
Original file line number Diff line number Diff line change 1- github.com/docopt/docopt-go v0.0.0-20141128170934-854c423c8108 h1:WJse1njqIlgvQjtOPAALBLhopGR+FKKo9OjxT7Sb6s0 =
2- github.com/docopt/docopt-go v0.0.0-20141128170934-854c423c8108 /go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE =
3- github.com/ugorji/go v0.0.0-20151014130314-8a2a3a8c488c h1:4ZyFm+eR1HUcqyial9pxsEBi0/JvJUDrmrlexXrtUoE =
4- github.com/ugorji/go v0.0.0-20151014130314-8a2a3a8c488c /go.mod h1:hnLbHMwcvSihnDhEfx2/BzKp2xb0Y+ErdfYcrs9tkJQ =
1+ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 h1:bWDMxwH3px2JBh6AyO7hdCn/PkvCZXii8TGj7sbtEbQ =
2+ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 /go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE =
3+ github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo =
4+ github.com/ugorji/go v1.1.7 /go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw =
5+ github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs =
6+ github.com/ugorji/go/codec v1.1.7 /go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY =
Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ func NewMsgpackRPCClient(c net.Conn) RPCClient {
4949}
5050
5151func getHandle () codec.MsgpackHandle {
52- h := codec.MsgpackHandle {RawToString : true }
52+ h := codec.MsgpackHandle {}
53+ h .RawToString = true
5354 h .MapType = reflect .TypeOf (map [string ]interface {}(nil ))
5455 return h
5556}
You can’t perform that action at this time.
0 commit comments