The highest tagged major version is
v14.
package
Version:
v10.0.3
Opens a new window with list of versions in this module.
Published: Nov 25, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stringslice provides helper functions for working with slices of strings.
Connect provides a human-readable serialization of the given strings list.
Longest provides the length of the longest string in the given string slice.
SurroundEmptyWith surrounds all empty strings in the given list with the given character.
type Collector struct {
}
Collector accumulates string instances one at a time.
The zero value is an empty collection.
Add appends a string instance to this collector.
Result provides all accumulated string instances.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.