Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2026 Changes in this version + type File struct + Content string + HandleTime time.Time + Path string + UpdateTime time.Time + type Option func(*Watcher) + func WithContext(ctx context.Context) Option + func WithDisableTemplate(b bool) Option + func WithFileNameFilter(f func(string) bool) Option + func WithHandler(h func(File)) Option + func WithInterval(d time.Duration) Option + func WithLogger(f func(string, error)) Option + func WithTemplateFuncs(fs map[string]any) Option + func WithTemplateVars(data any) Option + type Watcher struct + func New(dirs []string, opts ...Option) *Watcher + func (w *Watcher) Stop() + func (w *Watcher) Watch()