format

package
v1.39.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	Write(interface{}) error
	WriteErr(error) error
}

type JSONFormatter

type JSONFormatter struct {
	Out io.Writer
}

func (JSONFormatter) Write

func (j JSONFormatter) Write(data interface{}) error

func (JSONFormatter) WriteErr

func (j JSONFormatter) WriteErr(err error) error

Jump to

Keyboard shortcuts

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