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

beego: update namespace

This commit is contained in:
astaxie
2014-05-23 15:56:25 +08:00
parent 17104c25a2
commit 0d17d974cd
4 changed files with 74 additions and 5 deletions

View File

@ -480,6 +480,7 @@ func (p *ControllerRegistor) InsertFilter(pattern string, pos int, filter Filter
return nil
}
// build the Filter by pattern
func (p *ControllerRegistor) buildFilter(pattern string, filter FilterFunc) (*FilterRouter, error) {
mr := new(FilterRouter)
mr.params = make(map[int]string)