runner

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	// Run runs the program.
	Run() error
}

Runner is used to run the program.

func New

func New(inputFilename, outputFilename string, isWatching bool, debugFilename string) Runner

New returns a new Runner for given I/O sources and options.

When isWatching is true, the program runs with hot reloading mode.

When debugFilename is not empty, the program outputs debug information.

Jump to

Keyboard shortcuts

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