package main import ( "flag" "log" ) func main() { // parse the flags registerHTTPFlags() flag.Parse() // setup the http server httpServer := setupHTTPServer() log.Fatalln(httpServer.ListenAndServe()) }