schemax

package
v0.0.0-...-50c9059 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SchemaTypeObject = "object"
	SchemaTypeInt32  = "int32"
	SchemaTypeUint32 = "uint32"
	SchemaTypeInt64  = "int64"
	SchemaTypeUint64 = "uint64"
	SchemaTypeString = "string"
	SchemaTypeList   = "list"
	SchemaTypeAny    = "any"
	SchemaTypeMap    = "map"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Children

type Children map[string]*SchemaNode

type Schema

type Schema Children

type SchemaNode

type SchemaNode struct {
	Type     string   `json:"type"`
	Children Children `json:"children"`
}

func NewSchemaNode

func NewSchemaNode(obj interface{}) (res *SchemaNode)

type SchemaType

type SchemaType string

Jump to

Keyboard shortcuts

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