gin
Live reload utility for Go web servers (by codegangsta)
watchrun
Watch your files and run your programs. (by loov)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
gin
Posts with mentions or reviews of gin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-06.
-
How to auto-reload go apps during development?
i've used this https://github.com/codegangsta/gin
- How do you use fswatch to reload an http server project on file changes?
- Go 1.16 Release Notes
watchrun
Posts with mentions or reviews of watchrun.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-11.
-
Hot reloading a go website (not just recompiling)
See one approach here https://github.com/loov/watchrun/blob/master/examples/watchjs-templates/server.go and https://github.com/loov/watchrun/blob/master/examples/watchjs-live/server.go.
-
I'm new at programming and this is my first website made in a programming language (Go)
For a more complicated setup, you can take a look at https://github.com/loov/watchrun/blob/master/examples/watchjs-templates/server.go, which also auto-reloads the page.
-
Embedding files for html/template, how to add Funcs?
To avoid the loadTemplates call. However, I would use an approach that lets you live-reload the new templates when ever they change -- helps to shorten the iteration time (e.g. one approach https://github.com/loov/watchrun/blob/master/examples/watchjs-templates/server.go).
-
How to auto-reload go apps during development?
Wrote https://github.com/loov/watchrun a while ago. More details here https://egonelbre.com/project/watchrun/.
What are some alternatives?
When comparing gin and watchrun you can also consider the following projects:
air - ☁️ Live reload for Go apps
kolekti - Display Musyca's database information in the terminal / Interage com Musyca e mostra as informações no terminal
modd - A flexible developer tool that runs processes and responds to filesystem changes
reflex - Run a command when files change
musyca - Your own music listening database / Seu próprio banco de dados de músicas ouvidas
gio - Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)
fresh - Build and (re)start go web apps after saving/creating/deleting source files.
golang-docker-cache - Improved docker Golang module dependency cache for faster builds.
fresh - The next-gen web framework.
xid - Parse unicode identifiers
devd - A local webserver for developers