mirror of
https://github.com/astaxie/beego.git
synced 2025-06-20 14:20:18 +00:00
Remove redundant return to pass gosimple Travis check
This commit is contained in:

committed by
GitHub

parent
51a6162363
commit
5697c6d7cc
2
app.go
2
app.go
@ -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
|
||||
|
Reference in New Issue
Block a user