Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LineStrBuilder ¶
type LineStrBuilder []string
LineStrBuilder is a utility class for building strings line by line
func (LineStrBuilder) AppendLine ¶
func (lsb LineStrBuilder) AppendLine(strFmt string, args ...interface{}) LineStrBuilder
AppendLine works like append in that it returns an instance of a LineStrBuilder with the contents updated to contain the additional line. lsb = lsb.AppendLine("n: %d, s: %s", n, s)
func (LineStrBuilder) String ¶
func (lsb LineStrBuilder) String() string
String returns the built string with all lines separated by newlines
Click to show internal directories.
Click to hide internal directories.