schema

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lint

func Lint(r io.Reader) error

Lint is for linting a recipe against the schema

func Unmarshal

func Unmarshal(in []byte, out any) error

Unmarshal YAML to map[string]any instead of map[any]any.

Types

type ResultErrors

type ResultErrors []gojsonschema.ResultError

ResultErrors is a slice of gojsonschema.ResultError that implements error

func (ResultErrors) Error

func (r ResultErrors) Error() string

Error implements error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL