generator

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Generate

func Generate(target string, output string, options *gen.GenOptions, units ...*definition.CompilationUnit) (retErr error, retWarning error)

func ListGenerators

func ListGenerators() []string

Types

type Generator

type Generator interface {
	Generate(ctx *gen.GenCtx) (err error, warning error)
}

func GetGenerator added in v0.4.0

func GetGenerator(target string) (Generator, error)

Directories

Path Synopsis
target
c

Jump to

Keyboard shortcuts

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