throttle Throttle is an object that will perform exactly one action per duration. var throttler = throttle.New(time.Second*5) func SomeFunc() { throttler.Do(func(){ fmt.Println("run") }) } License The MIT License (MIT)