Revision 3c98c88264ecfffddffd8848b133b46701f29c9b authored by Hugo Häggmark on 18 May 2021, 07:02:06 UTC, committed by GitHub on 18 May 2021, 07:02:06 UTC
This reverts commit 84a3853272fd987499be9bbd52e4e4276644743b.
1 parent 7e93a2d
Raw File
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")
back to top