serialization

package
v0.0.0-...-b19370d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SerializePlan

func SerializePlan(node Serializable) string

func SerializeRows

func SerializeRows(rows rows.Rows) string

func SerializeRowsExpanded

func SerializeRowsExpanded(rows rows.Rows) string

Types

type IndentWriter

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

func NewIndentWriter

func NewIndentWriter(w io.Writer) IndentWriter

func (IndentWriter) Indent

func (w IndentWriter) Indent() IndentWriter

func (IndentWriter) WritefLine

func (w IndentWriter) WritefLine(format string, args ...any)

type Serializable

type Serializable interface {
	Serialize(w IndentWriter)
}

Jump to

Keyboard shortcuts

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