templatize

package
v1.10.12-1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoIt

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

func Render

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

func StringToList

func StringToList(commaSeparatedList string) []string

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