Changelog:
This is mainly a fix for #1.
But with that, the API is slightly changed. New now simply returns
only a function:
debounced := debounce.New(100 * time.Millisecond)
A debouncer written in Go. This may seem like a fairly narrow library,
so why not copy-and-paste it when needed? Sure, but this is, however,
slightly more usable than left-pad, and as I move my client code into
the GopherJS world, a debounce function is a must-have.