Remove unused code
This commit is contained in:
parent
4cc4ce2a2e
commit
0990f5bafe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user