Using ..., something new again :)

This commit is contained in:
Marcel Otte 2021-11-15 22:54:36 +01:00
parent 1e4f78be3b
commit 5890e490d5
1 changed files with 1 additions and 2 deletions

View File

@ -47,8 +47,7 @@ func process() {
if err != nil && err != io.EOF {
panic(err)
}
app := buf[0:nr]
data = append(data, app)
data = append(data, buf[0:nr]...)
if err == io.EOF {
break
}