equalizer
delve
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.
delve
-
The worst thing about Jenkins is that it works
At a recent job, we had slightly different containers for local dev; our backend containers (for a Go app) had Air [1] installed for live reloading, plus Delve [2] running inside the container for VS Code's debugger to connect to. We also had a frontend container for local dev, which didn't get deployed as a container, just as static files.
[1] https://github.com/cosmtrek/air
[2] https://github.com/go-delve/delve/
-
Delve v1.21.2 is out now
https://github.com/go-delve/delve/releases/tag/v1.21.2 Thanks Derek and the rest of the team for helping us to debug in a normal way!
- I do not use a debugger
-
Writing and debugging integration tests of multiple processes with Golang
My employer has a commercial solution for this but Delve does supports `rr` traces natively for this purpose, which gives a complete open-source solution (https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv_replay.md).
- No support for debugging Go on OpenBSD
- Delve v1.20.2 is out now
-
Tools besides Go for a newbie
delve and related IDE integrations
-
What a good debugger can do
For time travel debugging in Go:
The Delve debugger for Go supports debugging rr traces: https://github.com/go-delve/delve/blob/master/Documentation/...
Undo (who I work for) maintain a fork that debugs our LiveRecorder recordings: https://docs.undo.io/GoDelve.html
Either rr (https://rr-project.org/) or our UDB debugger (https://undo.io/solutions/products/udb/) can do some time travel debugging of Go programs via GDB's built-in support for Go. I believe its weakness is in support for goroutines, since they don't map well onto its idea of how programs run.
-
Is there a neovim config with preconfigured debugger?
So in my case I use https://github.com/leoluz/nvim-dap-go (which itself calls out to the CLI tool https://github.com/go-delve/delve).
-
What's wrong with my GoLand debugger?
Clone https://github.com/go-delve/delve.git
What are some alternatives?
mimetype - A fast Golang library for media type and file extension detection, based on magic numbers
air - ☁️ Live reload for Go apps
mergo - Mergo: merging Go structs and maps since 2013
go-debug
mole - CLI application to create ssh tunnels focused on resiliency and user experience.
vim-go - Go development plugin for Vim
wuzz - Interactive cli tool for HTTP inspection
gorequest - GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
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.
go-sitemap-generator - go-sitemap-generator is the easiest way to generate Sitemaps in Go
grequests - A Go "clone" of the great and famous Requests library
gohper