Documentation ¶
Overview ¶
Package fancymap provides a utility method which can be used to output a nice key-value list to the provided output writer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintFancyMap ¶
func PrintFancyMap(w io.Writer, title string, success bool, entries ...FancyMapEntry)
PrintFancyMap uses the provided writer `w` and outputs a pretty printed listed based on the list of `entries`. A `title` and `success` state can be set which are prepended to the list.
Types ¶
type FancyMapEntry ¶
FancyMapEntry represents one item in the fancy list.
Click to show internal directories.
Click to hide internal directories.