How I run my Go web services
Running a Go web service can be as simple as Compiling the binary go build ./cmd/hello Copying the binary to where you want to run it. Execute the binary ./hello However, executing the binary manually is inconvenient when you need to restart the app on failure or auto start it on system reboot. In this post, I will show how I run a simple web service (code) with systemd or Docker on a Linux machine, and some decisions that I have made. ...