1
0
Fork 0
forked from External/ergo

use strings.Builder instead of bytes.Buffer where applicable

This commit is contained in:
Shivaram Lingamneni 2020-06-08 23:38:10 -04:00
parent 425cdffe39
commit 00e2c2816b
3 changed files with 6 additions and 8 deletions

View file

@ -4,7 +4,6 @@
package utils
import (
"bytes"
"strings"
"time"
)
@ -98,7 +97,7 @@ func (sm *SplitMessage) Is512() bool {
type TokenLineBuilder struct {
lineLen int
delim string
buf bytes.Buffer
buf strings.Builder
result []string
}