api

package
v0.0.0-...-f2c73a6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: Unlicense Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Usage = func() {
	fmt.Fprintf(os.Stderr, "Usage:\n")
	fmt.Fprintf(os.Stderr, "  %s [options] shell {flagfile}\n", os.Args[0])
	fmt.Fprintf(os.Stderr, "\tshell interactive mode\n")
	fmt.Fprintf(os.Stderr, "  %s [options] {source}\n", os.Args[0])
	fmt.Fprintf(os.Stderr, "\tparse single file\n")
	fmt.Fprintf(os.Stderr, "Options:\n")
	flag.PrintDefaults()
	os.Exit(1)
}

Functions

func Run

func Run(parse func([]byte, string) (*ast.File, error))

Types

This section is empty.

Jump to

Keyboard shortcuts

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