1
0
Fork 0

Add Service Fabric Provider

This commit is contained in:
Lawrence Gripper 2017-11-27 13:26:04 +00:00 committed by Traefiker
parent 9f6f637527
commit 39c1cc1b3c
21 changed files with 1624 additions and 18 deletions

View file

@ -183,6 +183,9 @@ var genericMap = map[string]interface{}{
"biggest": max,
"max": max,
"min": min,
"ceil": ceil,
"floor": floor,
"round": round,
// string slices. Note that we reverse the order b/c that's better
// for template processing.
@ -258,4 +261,12 @@ var genericMap = map[string]interface{}{
// Flow Control:
"fail": func(msg string) (string, error) { return "", errors.New(msg) },
// Regex
"regexMatch": regexMatch,
"regexFindAll": regexFindAll,
"regexFind": regexFind,
"regexReplaceAll": regexReplaceAll,
"regexReplaceAllLiteral": regexReplaceAllLiteral,
"regexSplit": regexSplit,
}