pools

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccentsTransformer

func GetAccentsTransformer() transform.Transformer

GetAccentsTransformer returns a transformer from the pool. The transformer converts text to ascii only.

func GetBuffer

func GetBuffer() (buf *bytes.Buffer)

GetBuffer returns a buffer from the pool.

func PutAccentsTransformer

func PutAccentsTransformer(t transform.Transformer)

PutAccentsTransformer returns a transformer to the pool. The transformer is reset before it is put back into circulation.

func PutBuffer

func PutBuffer(buf *bytes.Buffer)

PutBuffer returns a buffer to the pool. The buffer is reset before it is put back into circulation.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL