util

package
v0.0.0-...-a27c56c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BlueString   = color.New(color.FgBlue).SprintfFunc()
	ColoredOut   = color.Output
	ColoredErr   = color.Error
	GreenStringf = color.New(color.FgGreen).SprintfFunc()
)
View Source
var (
	V *viper.Viper
)

Functions

func Exit

func Exit(format string, msg ...interface{})

func InitConfig

func InitConfig() error

func Panic

func Panic(err error, format string, msgs ...interface{})

func PrintErr

func PrintErr(err error, format string, msgs ...interface{})

func Printf

func Printf(format string, args ...interface{})

func TestInitConfig

func TestInitConfig(t *testing.T)

func WrapErr

func WrapErr(err error, format string, msgs ...interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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