wgo
air
wgo | air | |
---|---|---|
1 | 55 | |
408 | 18,938 | |
- | 3.3% | |
7.0 | 8.0 | |
about 2 months ago | about 1 month 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.
wgo
-
wgo: a live reload tool for Go
wgo is simpler, simply prepend 'w' to any go run command to make it wgo run and now it does the same thing as go run but it also reloads the program whenever a Go file changes. Also takes in the same build flags as go run. Very intuitive to use.
air
-
Building a RESTful API with Go Fiber: An Express-Inspired Boilerplate
Note: Make sure you have Air installed. See ๐ How to install Air
-
My first CLI with Go
The last problem for now is a hot reload module. Whenever we create a fiber app we don't have any change listener by default. If fiber has this already and I do not know about it then forgive me for that I am relatively new to this. If you know anything about this, let me know in the comments. To solve this problem I figured out to include air in the project.
-
Setting up Delve and Air to debug Golang with VS Code
We will use https://github.com/air-verse/air to do live reloading for us.
- Rails Is Good Enough
-
Simple Directory Watcher to Restart Dev Server
Ever since I have been making APIs there was always a simple way to enable hot reloading. It is easy in Go too, you just have to use air. It so simple, just write air and you have hot reloading. Now you may ask the question that if it's so great what this post is for?
-
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)
What are some alternatives?
gow - Missing watch mode for Go commands. Watch Go files and execute a command like "go run" or "go test"
modd - A flexible developer tool that runs processes and responds to filesystem changes
liver - Liver is a dead simple live reloading framework that works by attaching itself to processes
delve - Delve is a debugger for the Go programming language.
hotbuild - a cross platform hot compilation tool for golang
reflex - Run a command when files change
algernon - Small self-contained pure-Go web server with Lua, Teal, Markdown, Ollama, HTTP/2, QUIC, Redis, SQLite and PostgreSQL support ++
entr - Run arbitrary commands when files change
reflex - ๐ธ๏ธ Web apps in pure Python ๐
skaffold - Easy and Repeatable Kubernetes Development
gin - Live reload utility for Go web servers