maint: comment source code

This commit is contained in:
vxclutch
2026-05-28 07:55:10 -04:00
parent b436415980
commit 363c3b6c96
6 changed files with 5 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ type ShareData struct {
}
func (h *ShareData) Handler(w http.ResponseWriter, r *http.Request) {
// Although `Must` can fail since `Templates` is embeded these files will always exist.
tmpl := template.Must(template.ParseFS(lash.Templates, "templates/share.html"))
if err := tmpl.ExecuteTemplate(w, "share.html", h); err != nil {