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:
@ -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),
|
||||
|
Reference in New Issue
Block a user