table

package
v0.1.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindMapValue

func FindMapValue(data map[string]interface{}, key string) (string, bool)

FindMapValue will find a key and retrieve its value from the given map. The key has to be a string and can be multilayered, for example `foo.bar`. Returns the value and a boolean indicating if the value was found.

func PrintPadded

func PrintPadded(w io.Writer, columns []string, padding []int)

PrintPadded turns an array into a padded string and outputs it into the given writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL