tmpl

package
v0.0.0-...-b535e9e Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(dst io.Writer, src io.Reader, context interface{}) error

Types

type ContextType

type ContextType string
const (
	ENV  ContextType = "env"
	JSON ContextType = "json"
)

type Template

type Template struct {
	Source      string
	Destination string
	Context     string
	ContextType ContextType
}

func (Template) Execute

func (t Template) Execute() error

Jump to

Keyboard shortcuts

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