str

package
v0.0.0-...-7a50bc8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Miscellaneous utilities formatting, coloring terminal output, and similar.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Color

func Color(text string, colorIndex string, bold bool) string

func ColorForFile

func ColorForFile(file *os.File, text string, colorIndex string,
	bold bool) string

func DisableColors

func DisableColors()

func FormatInt

func FormatInt(i int) string

func FormatIntv

func FormatIntv(v interface{}) string

func IsTerminal

func IsTerminal(file *os.File) bool

May move to util/file? For now is here because it's the only one used by colors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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