printer

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendCanonical

func AppendCanonical(dst []byte, doc *ast.Document) ([]byte, error)

func AppendPretty

func AppendPretty(dst []byte, doc *ast.Document, opts Options) ([]byte, error)

func CanonicalSize

func CanonicalSize(doc *ast.Document) (int, error)

func PrettySize

func PrettySize(doc *ast.Document, opts Options) (int, error)

Types

type Options

type Options struct {
	Indent string
}

Jump to

Keyboard shortcuts

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