Gofmt formatting

This commit is contained in:
Thomas Buckley-Houston 2018-07-17 10:10:08 +08:00
parent f05a21a339
commit 4b2ce6abbc
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func HTTPServerStart() {
uncompressed := http.HandlerFunc(handleHTTPServerRequest)
limiterMiddleware := setupRateLimiter()
serverMux.Handle("/", limiterMiddleware.Handler(gziphandler.GzipHandler(uncompressed)))
if err := http.ListenAndServe(*httpServerBind+ ":"+*HTTPServerPort, &slashFix{serverMux}); err != nil {
if err := http.ListenAndServe(*httpServerBind+":"+*HTTPServerPort, &slashFix{serverMux}); err != nil {
Shutdown(err)
}
}