//go:build serveStatic package static import ( "embed" "net/http" ) //go:embed static/* var staticFS embed.FS func InitHttpHandlers() { fs := http.FileServerFS(staticFS) http.Handle("/static/", http.StripPrefix("/static", fs)) }