No Description

main.go 235B

12345678910111213141516
  1. package main
  2. import (
  3. "log"
  4. "net/http"
  5. "strconv"
  6. )
  7. func main() {
  8. http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
  9. Routes.Match(w, r)
  10. })
  11. log.Fatal(http.ListenAndServe(":"+strconv.Itoa(SERVER_PORT), nil))
  12. }