gotypes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package gotypes generates Go type definitions from YAML schemas.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

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

Generator handles Go code generation using AST

func NewGenerator

func NewGenerator(schema *schema.Schema) *Generator

NewGenerator creates a new generator instance

func (*Generator) Generate

func (g *Generator) Generate() ([]byte, error)

Generate generates Go code from the schema using AST

Jump to

Keyboard shortcuts

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