func New(duration time.Duration) Throttler {
	return &throttle{
		duration: duration,
	}
}
New create a new Throttler. The duration variable sets the
duration to restrict Do function argument function f.
package throttle
import (
	"sync"
	"time"
)
type Throttler interface {
	Do(f func())
}