emissary/internal/agent/controller/app/spec/init.go

18 lines
260 B
Go
Raw Permalink Normal View History

2023-03-28 20:43:45 +02:00
package spec
import (
_ "embed"
"forge.cadoles.com/Cadoles/emissary/internal/spec"
"github.com/pkg/errors"
)
//go:embed schema.json
var schema []byte
func init() {
2023-03-28 20:43:45 +02:00
if err := spec.Register(Name, schema); err != nil {
panic(errors.WithStack(err))
}
}