github.com/webmafia/fast@v0.10.0/string_buffer_pool.go (about)

     1  package fast
     2  
     3  func NewStringBufferPool() *Pool[StringBuffer] {
     4  	return NewPool[StringBuffer](nil, func(b *StringBuffer) {
     5  		b.Reset()
     6  	})
     7  }