func main() { flag.Parse() initFrontend() analyzer.InitTemplates() analyzer.SetIsOptimized(*optimized) log.Println("Listening on port: ", *port) log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil)) }
func main() { flag.Parse() initFrontend() analyzer.InitTemplates(*templateDir) analyzer.SetScriptsDir(*scriptsDir) analyzer.SetResVersion(*resVersion) analyzer.SetIsOptimized(*optimized) log.Println("Listening on port: ", *port) log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil)) }