As proposed here http://beego.me/docs/mvc/controller/config.md, I add parameters for MySQL user/password and when trying to access them (for example by using
beego.AppConfig.String("mysqluser")
)
I get an "undefined: beego in beego.AppConfig"
message. Any suggestions?
That was caused by a stupid mistake... I forgot to add the beego package... Try the following:
import "github.com/astaxie/beego"