gen : upgrade gen
This commit is contained in:
1 parent
80ef9e46ab
commit
89fe63c915
3 files changed
+31
-6
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user