blt/web/routes/index.go

13 lines
210 B
Go

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")
}