codegen

package
v0.0.0-...-21814b1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyTemplate

func ApplyTemplate(outPath string, fileName string, tplText string, config TemplateConfig) error

ApplyTemplate applies the given template file to generate a file at the given output path

Types

type DriverConfig

type DriverConfig struct {
	Name    string
	Version string
	Module  ModuleConfig
	Package PackageConfig
}

type ModuleConfig

type ModuleConfig struct {
	Path string
	Name string
}

type PackageConfig

type PackageConfig struct {
	Path string
	Name string
}

type RuntimeConfig

type RuntimeConfig struct {
	Version string
}

type TemplateConfig

type TemplateConfig struct {
	Runtime RuntimeConfig
	Driver  DriverConfig
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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