format

package
Version: v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSV

type CSV struct{}

func (*CSV) Ext

func (f *CSV) Ext() string

func (*CSV) Format

func (f *CSV) Format(data domain.Serializable, writer io.Writer) error

type JSON

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

func NewJSON

func NewJSON(pretty bool) *JSON

func (*JSON) Ext

func (f *JSON) Ext() string

func (*JSON) Format

func (f *JSON) Format(data domain.Serializable, writer io.Writer) error

Source Files

Jump to

Keyboard shortcuts

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