Remove unused code
This commit is contained in:
父節點
4cc4ce2a2e
當前提交
0990f5bafe
共有 1 個文件被更改,包括 0 次插入 和 7 次删除
|
@ -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
|
||||
|
|
載入中…
Add table
Add a link
Reference in a new issue