18 lines
262 B
Go
18 lines
262 B
Go
|
package app
|
||
|
|
||
|
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(NameApp, schema); err != nil {
|
||
|
panic(errors.WithStack(err))
|
||
|
}
|
||
|
}
|