dumper

package module
v0.0.0-...-582ee10 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

README

dumper

This package adds colors to davecgh/go-spew pretty printer of Go data structures using fatih/color.

Documentation

Overview

package dumper adds colors to "github.com/davecgh/go-spew/spew" using "github.com/fatih/color"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B

func B(params ...interface{})

B dumps the parameters in blue

func BK

func BK(params ...interface{})

BK dumps the parameters in blue and exit

func C

func C(params ...interface{})

C dumps the parameters in cyan

func CK

func CK(params ...interface{})

CK dumps the parameters in cyan and exit

func Dump

func Dump(params ...interface{})

Dump dumps the parameters without color

func G

func G(params ...interface{})

G dumps the parameters in green

func GK

func GK(params ...interface{})

GK dumps the parameters in green and exit

func M

func M(params ...interface{})

M dumps the parameters in magenta

func MK

func MK(params ...interface{})

MK dumps the parameters in magenta and exit

func Name

func Name(i interface{}) string

Name returns the struct or pointer to struct name, or unknown for other types

func R

func R(params ...interface{})

R dumps the parameters in red

func RK

func RK(params ...interface{})

RK dumps the parameters in red and exit

func String

func String(params ...interface{}) string

String returns a string representation of the parameters

func Y

func Y(params ...interface{})

Y dumps the parameters in yellow

func YK

func YK(params ...interface{})

YK dumps the parameters in yellow and exit

Types

This section is empty.

Jump to

Keyboard shortcuts

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