stdout

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package stdout implements a result exporter the standard output.

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{Pretty: false}

DefaultConfig for stdout

Functions

This section is empty.

Types

type Config

type Config struct {
	Pretty bool `json:"pretty" yaml:"pretty"`
}

Config options for stdout emitter

type Emitter

type Emitter struct {
	// contains filtered or unexported fields
}

Emitter stdout

func New

func New(c Config) (e *Emitter)

New creates a new emitter

func (*Emitter) Emit

func (e *Emitter) Emit(result transaction.Result)

Emit results

Jump to

Keyboard shortcuts

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