feat: switch vendor to go mod.
This commit is contained in:
@@ -93,6 +93,6 @@ func StatMiddleware() gin.HandlerFunc {
|
||||
return func(c *gin.Context) {
|
||||
beginning, recorder := Stats.Begin(c.Writer)
|
||||
c.Next()
|
||||
Stats.End(beginning, recorder)
|
||||
Stats.End(beginning, stats.WithRecorder(recorder))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user