output

package
v0.66.16 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

func New

func New(jsonMode bool) *Writer

func NewWithWriter added in v0.50.0

func NewWithWriter(jsonMode bool, w io.Writer) *Writer

func (*Writer) Error

func (w *Writer) Error(err error)

func (*Writer) IsJSON

func (w *Writer) IsJSON() bool

func (*Writer) JSON

func (w *Writer) JSON(v any) error

func (*Writer) Printf added in v0.61.0

func (w *Writer) Printf(format string, args ...any)

Jump to

Keyboard shortcuts

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