throttle is a handy tool for task throttling.
throttler := throttle.New(2 * time.Second)
throttler.Do(func() {
// your implementation here
})
go install github.com/space-code/throttle@latest
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
Bootstrapping development environment
make bootstrap
Please feel free to help out with this project! If you see something that could be made better or want a new feature, open up an issue or send a Pull Request!
Nikita Vasilev, [email protected]
throttle is available under the MIT license. See the LICENSE file for more info.