feat: switch vendor to go mod.

This commit is contained in:
Bo-Yi Wu
2019-03-16 09:27:47 +08:00
parent 7f97bbf178
commit 5321ed4575
1296 changed files with 266 additions and 491090 deletions

View File

@@ -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))
}
}