format

package
v0.0.0-...-af0b780 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AJSONToIndentedJSON

func AJSONToIndentedJSON(root *ajson.Node, prefix, indent string) ([]byte, error)

func SetOut

func SetOut(out io.Writer)

Types

type Column

type Column struct {
	Name     string
	JSONPath string
	Expr     string
}

type Output

type Output struct {
	OutputMessage string
	JSONObject    interface{}
	OutputType    string
	TableColumns  []Column
	Filter        string
	// contains filtered or unexported fields
}

func (*Output) Print

func (f *Output) Print() error

func (*Output) Println

func (f *Output) Println() error

Jump to

Keyboard shortcuts

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