output

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown = "unknown"
)

Variables

View Source
var ErrUnmarshalNil = errors.New("can't unmarshal a nil value")

Functions

This section is empty.

Types

type Format

type Format int8
const (
	FormatText Format = iota
	FormatJSON
	FormatCSV
)

func ParseFormat

func ParseFormat(text string) (Format, error)

func (Format) MarshalText

func (f Format) MarshalText() ([]byte, error)

func (Format) String

func (f Format) String() string

func (*Format) UnmarshalText

func (f *Format) UnmarshalText(text []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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