Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorToHex ¶
ColorToHex turns a color.RGBA into a hexadecimal color code e.g. #FBEE13. The alpha value is ignored.
func ExactlyOne ¶
ExactlyOne returns true iff one of the given booleans is true
func HexToColor ¶
HexToColor turns a hexadecimal color code (e.g. #FBEE13) into a color.RGBA.
func RemoveWhitespaceStrings ¶
RemoveWhitespaceStrings removes any strings from the input slice that contain only whitespace and trims whitespace from the remaining lines.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.