Our great sponsors
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
- SonarQube - Static code analysis for 29 languages.
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
- InfluxDB - Access the most powerful time series database as a service
Run a command when files change
There are tools like https://github.com/cespare/reflex that run a command when specific files are changing. You could use it to run go test whenever one of your files changes, so the changes would be reflected instantly in the terminal.
ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
☁️ Live reload for Go apps
IIRC VS Code has option to run tests after each save. If you want a more terminal way I recommend https://github.com/cosmtrek/air and configure to run go test on each change.
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.
Air – Live reload for Go apps
1 project | news.ycombinator.com | 20 Apr 2023
Do you typically use Docker as your dev environment?
3 projects | reddit.com/r/golang | 8 Apr 2023
Using the Goland debugger with Air?
2 projects | reddit.com/r/golang | 30 Jan 2023
1 project | reddit.com/r/docker | 3 Nov 2022
How do you implement hot-reloading in a Golang docker-container?
1 project | reddit.com/r/docker | 14 Sep 2022