lrt
air
lrt | air | |
---|---|---|
2 | 50 | |
17 | 15,329 | |
- | - | |
0.0 | 7.7 | |
over 1 year ago | 11 days ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 only |
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.
lrt
- Air – Live reload when developing with Go
-
Go 1.16 Release Notes
To do this well (for servers, which is the most common case) you need to keep the port open (and delay requests while recompilation is in progress) or clients can see transient errors. So it's probably not a language level concern, but a protocol level one (it's very solvable for HTTP for example).
I built https://github.com/superhuman/lrt which tries to solve this problem in a go-like way (no configuration required, minimal log noise, and reliability/simplicity as the primary design goals) for Superhuman.
air
-
Hot reloading in Go applications
Air is another library that enables hot reloading in Go applications. To use it, install it on your machine using the command below:
-
Live reloading in Go
To enable live reloading in Go we will checkout the command tool, Air - Live reload for Go apps.
-
Como configurar Golang com live reload utilizando Air 🚀
☁️ Repositório do Air
-
🎉 The Gowebly CLI has grown to v2.0.0
This is made possible thanks to the Air tool, which now comes with every project you create. The configuration is as follows:
- 6 🔥 Awesome Golang packages (web devs)
-
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/
-
Building RESTful API with Hexagonal Architecture in Go
Air is an automatic reloading tool for Go applications. It keeps an eye on code changes and automatically restarts the application, making development more efficient.
-
How to start a Go project in 2023
Just to add to the list there is also https://github.com/cosmtrek/air
- Any way to graceful restart the gin http and https servers like nginx for production?
- Air – Live reload for Go apps
What are some alternatives?
golang-docker-cache - Improved docker Golang module dependency cache for faster builds.
modd - A flexible developer tool that runs processes and responds to filesystem changes
reflex - Run a command when files change
delve - Delve is a debugger for the Go programming language.
gow - Missing watch mode for Go commands. Watch Go files and execute a command like "go run" or "go test"
reflex - 🕸️ Web apps in pure Python 🐍
skaffold - Easy and Repeatable Kubernetes Development
gin - Live reload utility for Go web servers
CompileDaemon - Very simple compile daemon for Go
entr - Run arbitrary commands when files change