2019/03/01 16:34:17 http: proxy error: dial tcp 127.0.0.1:3001: connect: connection refused
func handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hi there, I love %s!", r.URL.Path[1:])
}
func StartService() {
http.HandleFunc("/", handler)
log.Fatal(http.ListenAndServe(":8080", nil))
}