templatize

package
v1.9.6-1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoIt

func DoIt(templateFile, inputFile, ip, dest, owner, group string, mode int, vars []string) error

func MergeMaps

func MergeMaps(first, second map[string]interface{}) map[string]interface{}

func Render

func Render(templateFile string, mapping map[string]interface{}) (bytes.Buffer, error)

func VarsToMap

func VarsToMap(vars []string) (map[string]interface{}, error)

func WriteTemplate

func WriteTemplate(buf bytes.Buffer, dest, owner, group string, mode int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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