Doesn't compile with latest version of Beego
nathan-osman opened this issue · 3 comments
nathan-osman commented
Running:
go get -u github.com/oal/beego-pongo2
...results in the following errors:
beego-pongo2/main.go:55: undefined: beego.XSRFKEY
beego-pongo2/main.go:78: undefined: beego.FlashName
beego-pongo2/main.go:83: undefined: beego.FlashSeperator
beego-pongo2/main.go:90: undefined: beego.FlashName
beego-pongo2/main.go:97: undefined: beego.AutoRender
beego-pongo2/tags_urlfor.go:29: undefined: beego.UrlFor
beego-pongo2/tags_xsrftoken.go:15: undefined: beego.EnableXSRF
A number of these variables have moved from beego
to beego.BConfig.WebConfig
.
85degree commented
I have submited pull request with changes above. Please see my forked repo at https://github.com/apung/beego-pongo2
85degree commented