1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 07:20:55 +00:00

Remove redundant return to pass gosimple Travis check

This commit is contained in:
Silviu Capota-Mera 2017-09-25 23:17:57 -04:00 committed by GitHub
parent 51a6162363
commit 5697c6d7cc

2
app.go
View File

@ -270,8 +270,6 @@ func findAndRemoveTree(paths []string, entryPointTree *Tree, method string) {
findAndRemoveTree(paths[1:], entryPointTree.fixrouters[i], method)
}
}
// No match
return
}
// Include will generate router file in the router/xxx.go from the controller's comments