code: func New(interval time.Duration) (*Batcher, error) {
  	watcher, err := fsnotify.NewWatcher()
  
  	batcher := &Batcher{}
  	batcher.Watcher = watcher
  	batcher.interval = interval
  	batcher.done = make(chan struct{}, 1)
  	batcher.Events = make(chan []fsnotify.Event, 1)
  
  	if err == nil {
  		go batcher.run()
  	}
  
  	return batcher, err
  }
docs: // New creates and starts a Batcher with the given time interval.