- Add chi v5.2.5 to go.mod - Vendor htmx v2.0.4 minified JS in pkg/web/static/ - Create go:embed directives for static/ and templates/ - Create layout.html with nav bar and Tailwind CDN - Create overview.html with stat cards and findings table
15 lines
303 B
Go
15 lines
303 B
Go
package web
|
|
|
|
import "embed"
|
|
|
|
// staticFiles holds the vendored static assets (htmx.min.js, style.css, etc.)
|
|
// embedded at compile time.
|
|
//
|
|
//go:embed static/*
|
|
var staticFiles embed.FS
|
|
|
|
// templateFiles holds HTML templates embedded at compile time.
|
|
//
|
|
//go:embed templates/*
|
|
var templateFiles embed.FS
|