utils

package
v0.0.0-...-eb4c3ac Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConsoleColorPrefixFirst  = "\x1b["
	ConsoleColorPrefixSecond = ";1m"
	ConsoleColorSuffix       = "\x1b[0m"
	ConsoleColorYellow       = "33"
	ConsoleColorBrightBlue   = "94"
	ConsoleColorBrightRed    = "91"
	ConsoleColorBlue         = "34"
	ConsoleColorRed          = "31"
	ConsoleColorGreen        = "32"
)

Variables

This section is empty.

Functions

func ConsoleWriteLabeledValueI

func ConsoleWriteLabeledValueI(label string, value interface{}) string

func In5Mins

func In5Mins() string

func PrettyPrintStruct

func PrettyPrintStruct(t interface{})

func PrintColoredln

func PrintColoredln(label string, value interface{})

func ShowJsonFormatOfStruct

func ShowJsonFormatOfStruct(i interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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