Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 632 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 632 Bytes

builderpool

Test Go Reference

A simple strings.Builder pool using sync.Pool inspired by lestrrat-go/bufferpool.

SYNOPSIS

import "github.com/nasa9084/go-builderpool"

var pool = builderpool.New()

func main() {
    builder := pool.Get()
    defer pool.Release(builder)

    // ...
}