gen : upgrade gen

This commit is contained in:
zhangwenjian committed 2020-08-01 12:56:19 +08:00
1 parent 80ef9e46ab
commit 89fe63c915
3 files changed
+31 -6

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ func CustomError(c *gin.Context) {
}
c.Status(statusCode)
fmt.Println(
time.Now().Format("\n 2006-01-02 15:04:05.9999"),
time.Now().Format("2006-01-02 15:04:05.9999"),
"[ERROR]",
c.Request.Method,
c.Request.URL,