Documentation ¶ Index ¶ func Run(ctx context.Context, conf *Config) error type Config func NewConfig() *Config func (conf *Config) Validate() error type Debouncer func (d *Debouncer) Call(fn func() error) func (d *Debouncer) Err() <-chan error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(ctx context.Context, conf *Config) error Types ¶ type Config ¶ type Config struct { DryRun bool Includes []string Excludes []string Args []string Debounce time.Duration Wait time.Duration ExitOnChange bool } func NewConfig ¶ func NewConfig() *Config func (*Config) Validate ¶ added in v0.1.1 func (conf *Config) Validate() error type Debouncer ¶ type Debouncer struct { sync.Mutex // contains filtered or unexported fields } func (*Debouncer) Call ¶ func (d *Debouncer) Call(fn func() error) func (*Debouncer) Err ¶ func (d *Debouncer) Err() <-chan error Source Files ¶ View all Source files core.go debouncer.go runner.go Click to show internal directories. Click to hide internal directories.