Revision fcea23f2ecfad4ed613f796c16ed274e3a0828ad authored by Alexander Emelin on 16 April 2021, 13:36:12 UTC, committed by Alexander Emelin on 16 April 2021, 13:36:12 UTC
embed.go
package grafana
import (
"embed"
"io/fs"
)
// CoreSchema embeds all CUE files within the cue/ subdirectory.
//
// TODO good rule about where to search
//
//go:embed cue/*/*.cue
var CoreSchema embed.FS
// TODO good rule about where to search
//
//go:embed public/app/plugins/*/*/*.cue public/app/plugins/*/*/plugin.json
var base embed.FS
// PluginSchema embeds all CUE files within the public/ subdirectory.
var PluginSchema, _ = fs.Sub(base, "public/app/plugins")
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...