use pointer of Tabdata, so there's only 1 copy around

This commit is contained in:
2022-10-03 13:10:23 +02:00
parent 65cbaddd5f
commit 3fd2e6ac2f
4 changed files with 20 additions and 19 deletions

View File

@@ -60,7 +60,7 @@ asd igig cxxxncnc
t.Errorf("Parser returned error: %s\nData processed so far: %+v", err, data)
}
printData(data)
printData(&data)
buf := make([]byte, 1024)
n, err := r.Read(buf)