Skip to content

Commit

Permalink
Remove strings.Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Aug 27, 2018
1 parent 64683a2 commit 29cea4c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
5 changes: 5 additions & 0 deletions builder.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package ffmt

import (
"bytes"
"fmt"
"sync"
)
Expand Down Expand Up @@ -29,3 +30,7 @@ func putBuilder(buf builder) {
buf.Reset()
poolBuilder.Put(buf)
}

func newBuilder() interface{} {
return bytes.NewBuffer(nil)
}
11 changes: 0 additions & 11 deletions builder_10.go

This file was deleted.

11 changes: 0 additions & 11 deletions builder_old.go

This file was deleted.

0 comments on commit 29cea4c

Please sign in to comment.