(B *testing.B)
| 18 | } |
| 19 | |
| 20 | func BenchmarkRecoveryMiddleware(B *testing.B) { |
| 21 | router := New() |
| 22 | router.Use(Recovery()) |
| 23 | router.GET("/", func(c *Context) {}) |
| 24 | runRequest(B, router, http.MethodGet, "/") |
| 25 | } |
| 26 | |
| 27 | func BenchmarkLoggerMiddleware(B *testing.B) { |
| 28 | router := New() |
nothing calls this directly
no test coverage detected