templates

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteToFile

func WriteToFile(t *template.Template, f afero.File, cfg *metadata.Metadata) error

Types

type Templates

type Templates struct {
	Pairs []state.SourceToDest
}

func New

func New() *Templates

func (*Templates) AddPairs

func (t *Templates) AddPairs(pairs []state.SourceToDest)

func (*Templates) CreateDirectoryStructure

func (t *Templates) CreateDirectoryStructure(p []string, fs afero.Fs) error

Jump to

Keyboard shortcuts

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