Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TEMPLATE_FUNCTIONS = template.FuncMap{ "replace": func(s, old, new string) string { return strings.Replace(s, old, new, -1) }, "date": func(format string) string { return time.Now().Format(format) }, "join": func(s1, s2, sep string) string { if len(s1) == 0 { return s2 } if len(s2) == 0 { return s1 } return s1 + sep + s2 }, "trimSpace": func(s string) string { return strings.TrimSpace(s) }, "isTrue": isTrue, "isFalse": isFalse, }
Functions ¶
func ExecuteWorkflow ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.