From 8593e7400e198e62988e4859a6b430e2fff6c334 Mon Sep 17 00:00:00 2001 From: Amolith Date: Fri, 4 Oct 2024 10:28:21 -0600 Subject: [PATCH] Format ws.go --- ws/ws.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ws/ws.go b/ws/ws.go index e8948a1691b4e9378eddab989ad85941a17f5bcb..101c3081630483ab9afee5824f0bab6142bd62b1 100644 --- a/ws/ws.go +++ b/ws/ws.go @@ -53,13 +53,13 @@ func (h Handler) RootHandler(w http.ResponseWriter, r *http.Request) { } data := struct { - Version string - Projects []project.Project - IsDashboard bool + Version string + Projects []project.Project + IsDashboard bool }{ - Version: *h.Version, - Projects: projectsWithReleases, - IsDashboard: true, + Version: *h.Version, + Projects: projectsWithReleases, + IsDashboard: true, } tmpl := template.Must(template.ParseFS(fs, "static/dashboard.html.tmpl", "static/head.html.tmpl", "static/header.html.tmpl", "static/footer.html.tmpl"))