1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-03 18:10:19 +00:00

beego:fix typo NewControllerRegister

This commit is contained in:
astaxie
2014-06-10 20:12:57 +08:00
parent fdb5672b7a
commit 4786fb0948
6 changed files with 26 additions and 26 deletions

View File

@ -75,8 +75,8 @@ type ControllerRegistor struct {
filters map[int][]*FilterRouter
}
// NewControllerRegistor returns a new ControllerRegistor.
func NewControllerRegistor() *ControllerRegistor {
// NewControllerRegister returns a new ControllerRegistor.
func NewControllerRegister() *ControllerRegistor {
return &ControllerRegistor{
routers: make(map[string]*Tree),
filters: make(map[int][]*FilterRouter),