equalizer
mergo
equalizer | mergo | |
---|---|---|
3 | 2 | |
79 | 2,740 | |
- | - | |
5.7 | 4.0 | |
2 months ago | 2 months ago | |
Go | Go | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
equalizer
-
Can you help me build a better API?
You could use a rate limiter package like equalizer (note: i've never used this, just happened to see it the other day), or you could roll your own as a fun practice program. The TL;DR is that you identify users based on some metric, such as IP address, and then have a counter that tracks how many requests they make in a short period of time, and if they make over the threshold, you start returning 429 Rate Limit Exceeded errors.
-
[equalizer] A no ordinary rate limiter algorithms package.
The Equalizer usage example in the README was more informative, but eg. the Offset type's purpose isn't very clear.
mergo
-
Golang merge values in map
Working with unstructured data is always a pain in the ass. Either you write it out and work your way through the issues (with strong testing!) or you could look into an external library like https://github.com/imdario/mergo
-
Concurrently write to nested struct
By the way, does anybody have experience with mergo? (https://github.com/imdario/mergo).
What are some alternatives?
delve - Delve is a debugger for the Go programming language.
fzf - :cherry_blossom: A command-line fuzzy finder
mimetype - A fast Golang library for media type and file extension detection, based on magic numbers
sqlx - general purpose extensions to golang's database/sql
mole - CLI application to create ssh tunnels focused on resiliency and user experience.
boilr - :zap: boilerplate template manager that generates files or directories from template repositories
wuzz - Interactive cli tool for HTTP inspection
mp - Simple Email Parser
create-go-app - ✨ A complete and self-contained solution for developers of any qualification to create a production-ready project with backend (Go), frontend (JavaScript, TypeScript) and deploy automation (Ansible, Docker) by running only one CLI command.
fastlz - Wrap over FastLz for GoLang
grequests - A Go "clone" of the great and famous Requests library
ngrok - Unified ingress for developers