out

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(p Printer, data interface{}, f Format) error

Print data

Types

type Format

type Format int

Format of the printer

const (
	// PrettyJson prints indented json
	PrettyJson Format = iota
	Json
	NoStyle
)

type Printer

type Printer interface {
	Println(...interface{})
}

Jump to

Keyboard shortcuts

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