Documentation ¶ Index ¶ Constants func Compile(template string, varMap map[string]string) string func CompileArray(templates []string, varMap map[string]string) []string type Type type Variable func Parse(input string) (*Variable, error) Constants ¶ View Source const ( TypeLiteral Type = 0 TypeEnv = 1 TypeCommand = 2 ) Variables ¶ This section is empty. Functions ¶ func Compile ¶ func Compile(template string, varMap map[string]string) string func CompileArray ¶ func CompileArray(templates []string, varMap map[string]string) []string Types ¶ type Type ¶ type Type int type Variable ¶ type Variable struct { Key string Value string Type Type Remote bool // If running with a command or get environmental variable, is it running remotely? } func Parse ¶ func Parse(input string) (*Variable, error) Source Files ¶ View all Source files compiler.go parse.go Click to show internal directories. Click to hide internal directories.