package
0.0.0-20201207183138-34c5bf1cd2ff
Repository: https://github.com/jakewright/home-automation.git
Documentation: pkg.go.dev

# Functions

ColorToHex turns a color.RGBA into a hexadecimal color code e.g.
ExactlyOne returns true iff one of the given booleans is true.
HexToColor turns a hexadecimal color code (e.g.
RemoveWhitespaceStrings removes any strings from the input slice that contain only whitespace and trims whitespace from the remaining lines.
UniqueStr removes duplicates from a string slice.

# Type aliases

RGB is an alias for color.RGBA but with JSON marshaling methods that convert to & from hexadecimal color codes.