package main import ( "fmt" "log" "net/http" ) func root(w http.ResponseWriter, r *http.Request){ fmt.Fprint(w, "Root dfsdssite") } func main() { http.HandleFunc("/", root) log.Fatal(http.ListenAndServe(":8080", nil)) }