schemavalidation

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(schema string, content []byte) error

Validates content from a byte array against a URL schema or from a canonical file path

func ValidateAgainstOfflineSchema

func ValidateAgainstOfflineSchema(schema []byte, content []byte) error

Validates content from a byte array against a schema from a byte array This is useful for testing and restricted environments as it allows loading of schemas from files

Types

This section is empty.

Jump to

Keyboard shortcuts

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