go hello world on browser
=========================
run command
> go run main.go
------------------------
paste in address bar
> http://localhost:8080
=========================
package main
import (
"fmt"
"net/http"
)
func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello world", r.URL.Path)
})
http.ListenAndServe(":8080", nil)
}