LuKaicheng 6 rokov pred
rodič
commit
20b2f2118c
1 zmenil súbory, kde vykonal 1 pridanie a 7 odobranie
  1. 1 7
      example/gateway/main.go

+ 1 - 7
example/gateway/main.go

@@ -47,11 +47,5 @@ func main() {
 	writeTimeout = 10 * time.Second
 	maxHeaderBytes = 1024 * 1024
 
-	http.ListenAndServe(
-		*addr,
-		router,
-		readTimeout,
-		writeTimeout,
-		maxHeaderBytes,
-		logger)
+	http.ListenAndServe(*addr, router, readTimeout, writeTimeout, maxHeaderBytes, logger)
 }