schema

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Schema

type Schema struct {
	// contains filtered or unexported fields
}

func From

func From(v interface{}) (*Schema, error)

From initializes a schema from the given struct

func (*Schema) ValidateYAML

func (s *Schema) ValidateYAML(buf []byte) error

ValidateYAML validates a yaml file against the schema

Jump to

Keyboard shortcuts

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