Remove unused code

This commit is contained in:
Nise Void 2018-11-30 14:29:59 +01:00
parent 4cc4ce2a2e
commit 0990f5bafe
Signed by untrusted user: NiseVoid
GPG Key ID: FBA14AC83EA602F3

View File

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