Documentation
¶
Overview ¶
Package textvalue normalizes common text values received by modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollapseWhitespace ¶
CollapseWhitespace trims value and replaces consecutive whitespace with one space.
func EqualOptional ¶
EqualOptional reports whether two optional strings contain the same value.
func OptionalCollapsed ¶
OptionalCollapsed collapses whitespace and returns nil for a nil or empty value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.