13 lines
210 B
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")
|
||
|
}
|