Documentation
¶
Overview ¶
package utils provides simple transformation functions which do not fit anywhere else in particular.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloatTimeString ¶
FloatTimeString formats length in seconds as H:mm:ss.
func HumanFormatBool ¶
HumanFormatBool works as strconv.FormatBool, but returns "yes" or "no".
func ReverseRunes ¶
ReverseRunes returns a new, reversed rune slice.
func TokenFilter ¶
TokenFilter returns a subset of tokens that match the specified prefix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.