report

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteAnalyses

func WriteAnalyses(output io.Writer, analyses types.Analyses, templateFile string) error

WriteAnalyses writes the analyses to output in custom template

Types

type Template

type Template struct {
	Output   io.Writer
	Template *template.Template
}

Template writes analyses in custom format defined by template

func (Template) Write

func (tw Template) Write(analyses types.Analyses) error

Write writes analyses to output

type Writer

type Writer interface {
	Write(types.Analyses) error
}

Writer represents format writer interface

Jump to

Keyboard shortcuts

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