package
0.0.0-20181025162720-c8a214aafdbb
Repository: https://github.com/turbinelabs/nonstdlib.git
Documentation: pkg.go.dev
# Functions
NewSet ccreates a new Set containing the provided strings as an initial values stored in the set.
PadLeft prepends string s with i spaces.
PadLeftWith prepends string s with i instances of padding p.
Split2 splits a string on the first occurrence of the given delimiter and returns the portions of the original string before and after the delimiter.
SplitFirstColon invokes Split2 to split a string of the form "A:B".
SplitFirstEqual invokes Split2 to split a string of the form "A=B".
SplitHostPort splits a string of the form "host:port".
# Type aliases
Set represets set-like operations for strings.