codegen

package
v0.0.0-...-dba5aa2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeGenerator

type CodeGenerator interface {
	GenerateCode(s *repr.Schema, params map[string]any) ([]GeneratedFile, error)
}

type GeneratedFile

type GeneratedFile struct {
	Path     string
	Contents []byte
}

type Go

type Go struct{}

func (Go) GenerateCode

func (Go) GenerateCode(s *repr.Schema, params map[string]any) ([]GeneratedFile, error)

type Renderable

type Renderable interface {
	Render([]byte, string) []byte
}

Jump to

Keyboard shortcuts

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