jsonschemaform

package
v0.1.143 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JSONTypeObject  = "object"
	JSONTypeNumber  = "number"
	JSONTypeInteger = "integer"
	JSONTypeString  = "string"
	JSONTypeBoolean = "boolean"
	JSONTypeArray   = "array"
	JSONTypeNull    = "null"
)

Variables

This section is empty.

Functions

func Prompt

func Prompt(level int, data []byte, input map[string]interface{}) (interface{}, error)

func Validate

func Validate(schema []byte, i interface{}) error

Types

type Node added in v0.1.67

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

Jump to

Keyboard shortcuts

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