rendertemplate

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package rendertemplate provides the use-case to render a template.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Input

type Input struct {
	InputFilename  string
	OutputFilename string
	Variables      map[string]string
}

type Interface

type Interface interface {
	Do(in Input) error
}

type RenderTemplate

type RenderTemplate struct {
	Env        env.Interface
	FileSystem fs.Interface
}

func (*RenderTemplate) Do

func (u *RenderTemplate) Do(in Input) error

Directories

Path Synopsis
Package mock_rendertemplate is a generated GoMock package.
Package mock_rendertemplate is a generated GoMock package.

Jump to

Keyboard shortcuts

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