Skip to content

Instantly share code, notes, and snippets.

@x213212
Created October 2, 2018 09:45
package main
import (
"fmt"
"net/http"
"net"
"github.com/gorilla/mux"
"log"
)
func main() {
route := mux.NewRouter()
route.HandleFunc("/", webpage)
log.Fatal(http.ListenAndServe(":9000", route))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment