From 2d724da8d77c61bd68bf1f40791091bc67d89bbc Mon Sep 17 00:00:00 2001 From: jaap aarts Date: Thu, 30 Apr 2020 13:29:23 +0200 Subject: [PATCH] fix issues with using tt.Data with ttv3 --- tt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tt.go b/tt.go index f49cf01..6a8a081 100644 --- a/tt.go +++ b/tt.go @@ -72,7 +72,7 @@ func (d *Data) GobDecode(data []byte) error { case version2: return Decodev2(data[1:], d) case version3: - return Decodev3(bytes.NewBuffer(data), d) + return Decodev3(bytes.NewBuffer(data), (*map[interface{}]interface{})(d)) } return nil }