You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
190 B

  1. package main
  2. import (
  3. "fmt"
  4. "log"
  5. "net/http"
  6. )
  7. func main() {
  8. readConfig("config.json")
  9. fmt.Println(config)
  10. router := NewRouter()
  11. log.Fatal(http.ListenAndServe(":3050", router))
  12. }