mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 18:22:23 +08:00
Update recovery.go
This commit is contained in:
parent
9a69f2fb6b
commit
9b963f4c1a
@ -110,7 +110,6 @@ func function(pc uintptr) []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func timeFormat(t time.Time) string {
|
func timeFormat(t time.Time) string {
|
||||||
var nowTime = time.Now()
|
var timeString = t.Format("2006/01/02 - 15:04:05")
|
||||||
var timeString = nowTime.Format("2006/01/02 - 15:04:05")
|
|
||||||
return timeString
|
return timeString
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user