gen

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateModel

type TemplateModel struct {
	SourcePath           string
	TargetPath           string
	ConfigPath           string
	Config               config.Config
	StopIfTargetNotEmpty bool
}

func NewTemplateModel

func NewTemplateModel(source string, target string, configPath string, stopIfNotEmpty bool) (error, *TemplateModel)

func (*TemplateModel) Generate

func (tm *TemplateModel) Generate() error

Jump to

Keyboard shortcuts

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