diff --git a/router.go b/router.go index 04980c1..dbf517f 100644 --- a/router.go +++ b/router.go @@ -125,13 +125,6 @@ func (r *Router) getHttpr() *httprouter.Router { return httpr } -func handleErr(errHandler ErrorHandle, err interface{}) Handle { - return func(c *Context) error { - errHandler(c, err) - return nil - } -} - func checkInterfaceHandle(f interface{}) { if _, ok := f.(Handle); ok { return