Documentation ¶
Overview ¶
Package run compiles your Go file and runs it on headless chrome
This is the programmatic API to running Joy. Run will be called by the CLI:
$ joy run main.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { FilePath string // Go file to compile (required) Context context.Context // Cancellable context (optional, default: background) Development bool // Run the development bundle (optional, default: true) JoyPath string // Root path to Joy's state files (optional) Log log.Interface // Logger to use (optional) }
Config struct
Click to show internal directories.
Click to hide internal directories.