Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Concat ¶
Concat concatenates string to buffer. According to 'Efficient String Concatenation in Go(http://herman.asia/efficient-string-concatenation-in-go)', bytes.Buffer is best choice for heavy-duty case. You should call buffer.String() to get a concatenated string after all concaternating finished.
func ConcatExist ¶
ConcatExist concatenates string to string array. According to 'Efficient String Concatenation in Go(http://herman.asia/efficient-string-concatenation-in-go)', When str is already exist, it's faster than buffer concatenation. You should call strings.Join(strs, "") to get a concatenated string after all concaternating finished.
func ConcatString ¶
ConcatString concatenates leadingStr and followingStr.
Types ¶
This section is empty.