package routes import ( "net/http" "github.com/flamego/template" ) func GetDashboard(t template.Template, data template.Data) { data["title"] = "Dashboard" t.HTML(http.StatusOK, "index/dashboard") }