Skip to content

Commit f9e3221

Browse files
committed
format: remove stringBufPool
1 parent 1723609 commit f9e3221

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

format.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"reflect"
88
"strconv"
99
"strings"
10-
"sync"
1110
"time"
1211
)
1312

@@ -233,7 +232,3 @@ func formatLogfmtValue(value interface{}) string {
233232
return strconv.Quote(fmt.Sprintf("%+v", value))
234233
}
235234
}
236-
237-
var stringBufPool = sync.Pool{
238-
New: func() interface{} { return new(bytes.Buffer) },
239-
}

0 commit comments

Comments
 (0)