Need to know how to start GO as a server service to keep it running


(Saddam Ansari) #1

I always need to start the go app and keep it running.

go run main.go

how to start GO as a server service to keep it running??


(Norbert Melzer) #2

This depends on your operating system.

On most linuxes I’d prepare a systemd-service-unit.

For windows I have no clue.

Does someone actually use a Mac for hosting?


(Johan Dahl) #3

Hi I have used this package on Windows