Documentation ¶
Overview ¶
pstrings provides FilteredJoin QuoteList StrSliceContains
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilteredJoin ¶
FilteredJoin is like strings.Join but ignores empty strings. defauklt separator is single space \x20
func FilteredJoinWithHeading ¶ added in v0.4.28
FilteredJoinWithHeading takes a string slice of heading-value pairs and only outputs those strings that are non-empty. {"head1", "first", "head2, ""} → "head1: first"
func IsDefaultValue ¶
func IsDefaultValue(pt interface{}) (isDefault bool)
func StrSliceContains ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.