pp

package
v0.0.0-...-122bd00 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2016 License: MIT Imports: 10 Imported by: 0

README

pp wercker status

Colored pretty printer for Go language

Usage

Just call pp.Print().

import "github.com/k0kubun/pp"

m := map[string]string{"foo": "bar", "hello": "world"}
pp.Print(m)

API

fmt package-like functions are provided.

pp.Print()
pp.Println()
pp.Sprint()
pp.Fprintf()
// ...

API doc is available at: http://godoc.org/github.com/k0kubun/pp

Demo

Timeline

UserStream event

Works on windows

License

MIT License

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, a ...interface{}) error

func Fatal

func Fatal(a ...interface{})

func Fatalf

func Fatalf(format string, a ...interface{})

func Fatalln

func Fatalln(a ...interface{})

func Fprint

func Fprint(w io.Writer, a ...interface{}) (n int, err error)

func Fprintf

func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error)

func Fprintln

func Fprintln(w io.Writer, a ...interface{}) (n int, err error)

func Print

func Print(a ...interface{}) (n int, err error)

func Printf

func Printf(format string, a ...interface{}) (n int, err error)

func Println

func Println(a ...interface{}) (n int, err error)

func Sprint

func Sprint(a ...interface{}) string

func Sprintf

func Sprintf(format string, a ...interface{}) string

func Sprintln

func Sprintln(a ...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