Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsASCIIIdentifier ¶
IsASCIIIdentifier takes a string and returns true if the string does not contain any special characters.
func NormalizeURL ¶
NormalizeURL uses purell's "usually safe normalization" algorithm to normalize URLs. This includes removing dot segments, removing trailing slashes, removing unnecessary escapes, removing default ports, and setting the URL to lowercase.
func PadRows ¶
PadRows takes a string matrix and returns a string representation of a properly-aligned table.
func QuoteNonASCII ¶
QuoteNonASCII puts quotes around an identifier that contains non-ASCII characters.
Types ¶
type FormattedRow ¶ added in v0.9.1
FormattedRow represents a formatted table row.
Click to show internal directories.
Click to hide internal directories.