generate

package
v0.0.0-...-744e601 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTemplateFiles

func GenerateTemplateFiles(templateFs afero.Fs, outputFs afero.Fs, input *map[string]interface{}) ([]string, error)

Types

type GeneratedMetadata

type GeneratedMetadata struct {
	Templates    *[]TemplateMetadata     `json:"templates" yaml:"templates"`
	Input        *map[string]interface{} `json:"input" yaml:"input"`
	CreatedFiles *[]string               `json:"-" yaml:"-"`
}

type TemplateMetadata

type TemplateMetadata struct {
	URI     string `json:"uri" yaml:"uri"`
	Version string `json:"version" yaml:"version"`
}

Jump to

Keyboard shortcuts

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