Help us shape the future of Go! Take the 2026 Go Developer Survey

schemavalidation

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAndValidateOfflineSchema

func LoadAndValidateOfflineSchema(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

func LoadAndValidateOnlineSchema

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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