generator

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

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 creates markdown templates from schemas using rules

func New

func New() *Generator

New creates a new Generator

func (*Generator) Generate

func (g *Generator) Generate(s *schema.Schema, outputPath string) string

Generate creates a markdown template from the schema structure. outputPath (pass "" if unknown) resolves an expr-based heading to its own filename instead of the expression text.

Jump to

Keyboard shortcuts

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