formatter

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package formatter provide types and methods used to convert the results into a custom output (Yaml, Json, etc)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	Output(results results.Result) ([]byte, error)
}

Formatter defines the behavior for a Formatter

func NewFormatter

func NewFormatter(t string) Formatter

NewFormatter returns a new instance of formatter

Jump to

Keyboard shortcuts

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