example/example.go (
9
lines of code) (
raw
):
package main import ( "net/http" ) func main() { mux := http.NewServeMux() mux.Handle("/", http.FileServer(http.Dir("./static"))) http.ListenAndServe(":4000", mux) }