stringsbuilder

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 2 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *strings.Builder

New returns a new strings.Builder.

func NewBytes

func NewBytes(buf []byte) *strings.Builder

NewBytes returns a new strings.Builder using buf as its initial contents.

func NewString

func NewString(s string) *strings.Builder

NewString returns a new strings.Builder using s as its initial contents.

func Reuse

func Reuse(b *strings.Builder)

Reuse returns the given strings.Builder to a pool ready for reuse.

Types

This section is empty.

Jump to

Keyboard shortcuts

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