emissary/internal/spec/proxy/init.go

18 lines
278 B
Go
Raw Normal View History

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