From db126fe3426927adee40ff4cadbbc2dbdc0db8ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E6=AC=A7?= Date: Wed, 20 Feb 2019 14:16:42 +0800 Subject: [PATCH] Update gin.go --- gin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gin.go b/gin.go index 1a4efd8b..5983d4c6 100644 --- a/gin.go +++ b/gin.go @@ -304,7 +304,7 @@ func (engine *Engine) RunUnix(file string) (err error) { return } defer listener.Close() - os.Chmod(file,0777) + os.Chmod(file, 0777) err = http.Serve(listener, engine) return }