join

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TemplateAssemblers

func TemplateAssemblers(gens ...app.TemplateAssembler) app.TemplateAssembler

TemplateAssemblers joins few generators to one.

Types

type GlueAssembleTemplate

type GlueAssembleTemplate struct {
	// contains filtered or unexported fields
}

GlueAssembleTemplate is an implementation of app.TemplateAssembler which joins the slave's results to the first master's result file and remove slave's file. It also deletes package name heading line from slave file. If first master results is empty list, so it does nothing.

func (GlueAssembleTemplate) AssembleTemplate

func (d GlueAssembleTemplate) AssembleTemplate(templateDir string, ctx app.ToMacroReplaceContext,
) (targetFilePaths []string, err error)

AssembleTemplate assembles template from code using replace context.

Jump to

Keyboard shortcuts

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