Update beego.go

fix https://github.com/astaxie/beego/issues/453