// Package web embeds the web UI: a small single-page application that // uses Jarl's REST API for everything it does. package web import ( "embed" "io/fs" ) //go:embed static var static embed.FS // FS returns the web UI files (index.html and assets/). func FS() fs.FS { sub, err := fs.Sub(static, "static") if err != nil { panic(err) } return sub }