Formatting with gofumpt

This commit is contained in:
9seconds
2026-03-12 19:13:33 +01:00
parent 00403e3a94
commit ffd3ab03cc
6 changed files with 23 additions and 31 deletions
+5 -7
View File
@@ -5,13 +5,11 @@ import (
"sync"
)
var (
bytesPool = sync.Pool{
New: func() any {
return &bytes.Buffer{}
},
}
)
var bytesPool = sync.Pool{
New: func() any {
return &bytes.Buffer{}
},
}
func acquireBuffer() *bytes.Buffer {
return bytesPool.Get().(*bytes.Buffer)