1. go get -u github.com/cosmtrek/air
  2. create a .air.toml-File
  3. run air

https://github.com/cosmtrek/air

Using Air with Go to implement live reload - LogRocket Blog