Skip to content

Commit c114c6d

Browse files
updated to latest mod refs and struct init fix
1 parent 6a9446b commit c114c6d

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module github.com/jakm/msgpack-cli
33
go 1.14
44

55
require (
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
)

go.sum

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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=

msgpack.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ func NewMsgpackRPCClient(c net.Conn) RPCClient {
4949
}
5050

5151
func 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
}

0 commit comments

Comments
 (0)