generate

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2019 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainFileContentWriter

type MainFileContentWriter func(w *bufio.Writer, pp string)

type ProjectGenerator

type ProjectGenerator struct {
	ConfWriterFunc TemplateConfigWriter
	CompWriterFunc TemplateComponentWriter
	MainFileFunc   MainFileContentWriter
	ToolName       string
}

func (*ProjectGenerator) Generate

func (pg *ProjectGenerator) Generate()

func (*ProjectGenerator) OpenOutputFile

func (pg *ProjectGenerator) OpenOutputFile(p string) *os.File

type TemplateComponentWriter

type TemplateComponentWriter func(confDir string, pg *ProjectGenerator)

type TemplateConfigWriter

type TemplateConfigWriter func(confDir string, pg *ProjectGenerator)

Jump to

Keyboard shortcuts

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