runner

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package runner is a package that provides a programmatic interface to the code generation tool.

Index

Constants

View Source
const (
	// AllGenerator is a constant to run all generators.
	AllGenerator = "all"
	// ConvertGenerator is a constant to run the convert generator.
	ConvertGenerator = "convert"
	// CustomGenerator is a constant to run the custom generator.
	CustomGenerator = "custom"
)

Variables

This section is empty.

Functions

func Execute

func Execute(vspecReader, definitionsReader io.Reader, generators []string, cfg Config) error

Execute runs the code generation tool.

Types

type Config

type Config struct {
	Custom  custom.Config
	Convert convert.Config
}

Config is the configuration for the code generation tool.

Jump to

Keyboard shortcuts

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