mirror of
https://github.com/vbatts/tar-split.git
synced 2025-07-15 12:19:09 +00:00
*.go: linting project specific code
the pointer to the pool may be useful, but holding on that until I get benchmarks of memory use to show the benefit. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
19fa6f3d1e
commit
516158dbfb
4 changed files with 28 additions and 16 deletions
|
@ -199,7 +199,9 @@ func BenchmarkGetPut(b *testing.B) {
|
|||
b.Fatal(err)
|
||||
}
|
||||
}
|
||||
fh.Sync()
|
||||
if err := fh.Sync(); err != nil {
|
||||
b.Fatal(err)
|
||||
}
|
||||
|
||||
up := NewJSONUnpacker(fh)
|
||||
for {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue