From 800c5d04d06cfd0ac443443fc6095d8ca2d4f364 Mon Sep 17 00:00:00 2001 From: Pavel Merzlyakov Date: Thu, 27 Jul 2023 00:27:56 +0300 Subject: [PATCH] fix reading containers --- msgpack_reader.go | 1 + 1 file changed, 1 insertion(+) diff --git a/msgpack_reader.go b/msgpack_reader.go index 74239d0..f76a354 100644 --- a/msgpack_reader.go +++ b/msgpack_reader.go @@ -461,6 +461,7 @@ func (rd *msgpackReader) BeginContainer(targetField string) error { return errors.WithStack(err) } rd.curr.values[field] = raw + rd.curr.readCnt = i + 1 } return FieldNotFound