Revision 674a0ef4a18f3fe24d6657e5eb0b3e183705afcc authored by Arve Knudsen on 18 May 2021, 11:41:55 UTC, committed by grafanabot on 18 May 2021, 18:37:22 UTC
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit d1a90441717fea236feacd0681c16027fc879093)
1 parent c9ba9d4
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