Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is the interface that wraps the basic Reset, Cap and WriteString method.
func (*Builder) AppendArgs ¶
func (b *Builder) AppendArgs(args ...interface{})
AppendArgs appends the args.
func (*Builder) WriteString ¶
WriteString appends the contents of s to Buffer. Builder.buf.WriteString doesn't have the potential to return an error. But have the potential to panic.
strings.Builder https://golang.org/src/strings/builder.go?s=3425:3477#L110
bytes.Buffer https://golang.org/pkg/bytes/#Buffer.WriteString
Click to show internal directories.
Click to hide internal directories.