Documentation ¶
Index ¶
- Variables
- func Map(colorize func(...interface{}) string, strs []string) []string
- func Print(a ...interface{})
- func Printf(format string, a ...interface{})
- func Println(a ...interface{})
- func Tags(tags []string) string
- func TextAndTags(text string, tags []string) string
- func TextRow(r *types.Row) string
- func TextRows(rows types.Rows) string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Map ¶
Map returns a copy of the given []string with each contained string colorized with the 'colorize' function.
Example: fmt.Printf("%s", Map(BlackOnWhite, []string{"tag1", "tag2", "tag3"}))
func TextAndTags ¶ added in v0.5.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.