lib_formatter_json

package
v0.0.0-20240423 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NAME = "json"

	OPTION_WRITER = "writer"
)

Variables

View Source
var (
	WithWriter, GetWriter = option.New[io.Writer](OPTION_WRITER)
)

Functions

Types

type JsonFormatter

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

func (*JsonFormatter) FormatSlice

func (f *JsonFormatter) FormatSlice(ctx context.Context, xs []any) error

type NewJsonFormatterOption

type NewJsonFormatterOption = option.ApplyOption

Jump to

Keyboard shortcuts

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