outputs

package
v0.0.0-...-bc1f594 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Outputz map[string]func(log config.Logger, filename string, filepath string, fields []string, header bool) (Output, error) = make(map[string]func(config.Logger, string, string, []string, bool) (Output, error))

Functions

This section is empty.

Types

type CSVOutput

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

func (*CSVOutput) WriteResult

func (c *CSVOutput) WriteResult(out map[string]float64) error

type Output

type Output interface {
	WriteResult(out map[string]float64) error
}

func NewCSVOutput

func NewCSVOutput(log config.Logger, filename string, filepath string, fields []string, header bool) (Output, error)

Directories

Path Synopsis
Package mock_outputs is a generated GoMock package.
Package mock_outputs is a generated GoMock package.

Jump to

Keyboard shortcuts

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