LuKaicheng 5 years ago
parent
commit
20b2f2118c
1 changed files with 1 additions and 7 deletions
  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)
 }