format

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatFile

func FormatFile(file *ast.File) string

func FormatNode

func FormatNode(n ast.Node) string

func FormatNodeWithResolvedAlias added in v1.15.20

func FormatNodeWithResolvedAlias(n ast.Node, anchorNodeMap map[string]ast.Node) string

Types

type Formatter

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

Jump to

Keyboard shortcuts

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