jsonschema

package
v0.0.0-...-2f3eae6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterKSUIDFormat

func RegisterKSUIDFormat()

Types

type FS

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

func NewFS

func NewFS(raw fs.FS) *FS

NewFS will typically be passed an embed.FS to easily load separate .json schema files

func (*FS) Load

func (f *FS) Load(filepath string) gojsonschema.JSONLoader

Loads the given filename

func (*FS) LoadJSONExt

func (f *FS) LoadJSONExt(filepath string) gojsonschema.JSONLoader

Loads the given filename suffixing with ".json"

Jump to

Keyboard shortcuts

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