forked from External/ergo
use strings.Builder instead of bytes.Buffer where applicable
This commit is contained in:
parent
425cdffe39
commit
00e2c2816b
3 changed files with 6 additions and 8 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue