source

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format added in v0.4.1

func Format(node ast.Node) string

func IterateFunctions

func IterateFunctions(files []*ast.File) func(func(*ast.File, *ast.FuncDecl) bool)

func IterateGenDecl

func IterateGenDecl(files []*ast.File, tok token.Token) func(func(*ast.File, *ast.GenDecl) bool)

func IterateValueSpecs

func IterateValueSpecs(files []*ast.File) func(func(*ast.File, *ast.ValueSpec) bool)

func Templates

func Templates(workingDirectory, templatesVariable string, fileSet *token.FileSet, files []*ast.File, embeddedAbsolutePath []string) (*template.Template, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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