oal/beego-pongo2

Doesn't compile with latest version of Beego

nathan-osman opened this issue · 3 comments

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.

I have submited pull request with changes above. Please see my forked repo at https://github.com/apung/beego-pongo2

oal commented

@Apung's changes have been merged. I don't use Beego myself at the moment, so I apologize for not having kept this library up to date. Happy to merge PRs for future changes, if needed. 👍