compiler

package
v0.0.0-...-19ddbcd Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package compiler generates Go types that hold values described by a JSON Schema document.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(schemas []*jsonschema.Schema) ([]ast.Decl, []*ast.ImportSpec, error)

Compile generates Go declarations for types that hold values described by the JSON Schemas.

1. Parse (per-schema) 2. Resolve references (all schemas) 3. Generate code (per-schema)

Types

This section is empty.

Jump to

Keyboard shortcuts

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