main.go 165 B

1234567891011
  1. package main
  2. import (
  3. "log"
  4. "net/http"
  5. )
  6. func main() {
  7. http.Handle("/", http.FileServer(http.Dir("resources")))
  8. log.Fatal(http.ListenAndServe(":8080", nil))
  9. }