All checks were successful
Test / Create distribution (push) Successful in 1m36s
Test / Sandbox (push) Successful in 5m44s
Test / Sandbox (race detector) (push) Successful in 8m14s
Test / ShareFS (push) Successful in 8m38s
Test / Hakurei (race detector) (push) Successful in 10m57s
Test / Hakurei (push) Successful in 6m38s
Test / Flake checks (push) Successful in 2m56s
This displays package metadata with optional status from a report.
22 lines
289 B
Go
22 lines
289 B
Go
//go:build frontend
|
|
|
|
package ui
|
|
|
|
import (
|
|
"embed"
|
|
"io/fs"
|
|
)
|
|
|
|
//go:generate tsc
|
|
//go:generate cp index.html style.css static
|
|
//go:embed static
|
|
var _static embed.FS
|
|
|
|
var static = func() fs.FS {
|
|
if f, err := fs.Sub(_static, "static"); err != nil {
|
|
panic(err)
|
|
} else {
|
|
return f
|
|
}
|
|
}()
|