Skip to content

Commit 6bbd8f3

Browse files
committed
fix issues with using tt.Data with ttv3
1 parent 1fb78d3 commit 6bbd8f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tt.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ func (d *Data) GobDecode(data []byte) error {
7171
return Decodev1(data[1:], d)
7272
case version2:
7373
return Decodev2(data[1:], d)
74+
case version3:
75+
return Decodev3(bytes.NewBuffer(data), d)
7476
}
7577
return nil
7678
}

0 commit comments

Comments
 (0)