Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
func IsValidBase64 ¶
IsValidBase64 reports whether s is canonical base64 under standard encoding (RFC 4648). It requires that s round-trips through decode/encode unchanged — rejecting whitespace, missing padding, and other leniencies that DecodeString alone would accept.
func NormalizeSpace ¶
NormalizeSpace normalizes whitespace in the given content string. It replaces Windows-style line endings with Unix-style line endings, converts tabs to four spaces, and trims leading and trailing whitespace.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.