Today I found this nice tool: https://github.com/canthefason/go-watcher
You can run it inside a folder that contains your Go files, by executing
It builds the application, and when you change any of the files it recompiles it again. Very handy especially for API services that need to be restarted every time you change something.
There are many options you can customize, including running it inside a Docker container.