forked from mirror/gin
Fixes typo
This commit is contained in:
parent
cd92bf4385
commit
dcb5553a9b
|
@ -43,7 +43,7 @@ func BenchmarkManyHandlers(B *testing.B) {
|
||||||
DefaultWriter = FakeWriter{}
|
DefaultWriter = FakeWriter{}
|
||||||
//router := Default()
|
//router := Default()
|
||||||
router := New()
|
router := New()
|
||||||
router.Use(Recovery(), Logger2())
|
router.Use(Recovery(), Logger())
|
||||||
router.Use(func(c *Context) {})
|
router.Use(func(c *Context) {})
|
||||||
router.GET("/ping", func(c *Context) {})
|
router.GET("/ping", func(c *Context) {})
|
||||||
runRequest(B, router, "GET", "/ping")
|
runRequest(B, router, "GET", "/ping")
|
||||||
|
|
Loading…
Reference in New Issue