Gofmt formatting

This commit is contained in:
Thomas Buckley-Houston 2018-07-17 10:10:08 +08:00
parent f05a21a339
commit 4b2ce6abbc

View file

@ -35,7 +35,7 @@ func HTTPServerStart() {
uncompressed := http.HandlerFunc(handleHTTPServerRequest) uncompressed := http.HandlerFunc(handleHTTPServerRequest)
limiterMiddleware := setupRateLimiter() limiterMiddleware := setupRateLimiter()
serverMux.Handle("/", limiterMiddleware.Handler(gziphandler.GzipHandler(uncompressed))) 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) Shutdown(err)
} }
} }