format

package
v0.0.0-...-c922539 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(b io.Reader, opt ...Option) ([]byte, error)

func Node

func Node(node ast.Node, opt ...Option) ([]byte, error)

Types

type Option

type Option func(c *config)

An Option sets behavior of the formatter.

Jump to

Keyboard shortcuts

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