Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustColour ¶
AdjustColour adjusts a colour's brightness or darkness.
Assumes colour begins with '#' and returns a colour beginning with '#'.
func FormatBytes ¶
FormatBytes formats bytes as gigabytes to sf significant figures.
func FormatSf ¶
FormatSf formats value with sf significant figures. The horizontal space used will remain static.
func GetAtIndex ¶
GetAtIndex returns the value at index i or the default value for type T if it does not exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.