How to Deploy Go lang Application on VPS Server
I like to use Go programming language to write applications in server to handle services such as API and background processes. If you want to learn Go, visit the official Go website.
In this tutorial I just created a sample code to handle HTTP request. Just create a file and anme it main.go, and put this code in it.
package main import ( "fmt" "log" "net/http" ) func handleFunc(w http.