astminify

package
v2.0.0-rc.127 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Minifier

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

func NewMinifier

func NewMinifier() *Minifier

func (*Minifier) Minify

func (m *Minifier) Minify(operation []byte, definition *ast.Document, options MinifyOptions, out io.Writer) (madeReplacements bool, err error)

type MinifyOptions

type MinifyOptions struct {
	Pretty  bool
	SortAST bool
}

Jump to

Keyboard shortcuts

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