package controllers import ( beego "github.com/beego/beego/v2/server/web" ) // LoginController is the controller in chrage of solr type LoginController struct { beego.Controller } // Get implements simple solr Login func (c *LoginController) Get() { c.TplName = "login.tpl" //c.SetSession("login", "test") }