Documentation ¶ Index ¶ func WriteToFile(t *template.Template, f afero.File, cfg *metadata.Metadata) error type Templates func New() *Templates func (t *Templates) AddPairs(pairs []state.SourceToDest) func (t *Templates) CreateDirectoryStructure(p []string, fs afero.Fs) error 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 Source Files ¶ View all Source files templates.go Click to show internal directories. Click to hide internal directories.