20 lines
329 B
Go
20 lines
329 B
Go
|
package controllers
|
||
|
|
||
|
import (
|
||
|
beego "github.com/beego/beego/v2/server/web"
|
||
|
)
|
||
|
|
||
|
// MapController shows partners on a map
|
||
|
type MapController struct {
|
||
|
beego.Controller
|
||
|
}
|
||
|
|
||
|
// Get i
|
||
|
func (c *MapController) Get() {
|
||
|
|
||
|
c.Data["Website"] = "beego.me"
|
||
|
c.Data["Email"] = "astaxie@gmail.com"
|
||
|
c.TplName = "map.tpl"
|
||
|
c.EnableXSRF = false
|
||
|
}
|