golang-hot-reloading
is a working example of cosmtrek air for go
hot reload.
Edit .air.toml file for your project. For this example I have to edit some lines to run correctly for this project setup.
- Docker-Compose v2
# run the project
$ docker compose up
Now the application should be active. Try to access it.
$ curl http://localhost:8080/v1/success