-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
34 lines (29 loc) · 884 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package main
import (
"embed"
"github.com/starttoaster/trivy-operator-explorer/cmd"
"github.com/starttoaster/trivy-operator-explorer/internal/web/content"
)
//go:generate tailwindcss build -i ./static/css/input.css -o ./static/css/output.css
//go:embed static/sidebar.html
//go:embed static/configaudits.html
//go:embed static/configaudit.html
//go:embed static/clusteraudits.html
//go:embed static/clusteraudit.html
//go:embed static/roles.html
//go:embed static/role.html
//go:embed static/clusterroles.html
//go:embed static/clusterrole.html
//go:embed static/exposedsecrets.html
//go:embed static/exposedsecret.html
//go:embed static/images.html
//go:embed static/image.html
//go:embed static/index.html
//go:embed static/css/output.css
//go:embed static/css/extra.css
//go:embed static/js/chart.js
var static embed.FS
func main() {
content.Init(static)
cmd.Execute()
}