runner

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(ctx context.Context, opts WatchOptions) error

Watch starts the application and reloads it whenever a Go file changes.

Types

type WatchOptions

type WatchOptions struct {
	RootDir  string
	Args     []string
	Stdout   io.Writer
	Stderr   io.Writer
	Debounce time.Duration
	// contains filtered or unexported fields
}

WatchOptions configures the hot-reload runner.

Jump to

Keyboard shortcuts

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