printer

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Json

type Json struct {
}

func NewJson

func NewJson() *Json

func (*Json) PrintResult

func (j *Json) PrintResult(ruleList map[int]string) error

type Printer

type Printer interface {
	PrintResult(ruleList map[int]string) error
}

func NewPrinter

func NewPrinter(printFormat string) Printer

type Table

type Table struct {
}

func NewTable

func NewTable() *Table

func (*Table) PrintResult

func (t *Table) PrintResult(ruleList map[int]string) error

type Yaml

type Yaml struct {
}

func NewYaml

func NewYaml() *Yaml

func (*Yaml) PrintResult

func (y *Yaml) PrintResult(ruleList map[int]string) error

Jump to

Keyboard shortcuts

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