interpolation

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoreFunctions = map[string]ast.Function{

	"env":    interpolationFuncEnv(),
	"length": interpolationFuncLength(),

	"lower":    interpolationFuncLower(),
	"upper":    interpolationFuncUpper(),
	"replace":  interpolationFuncReplace(),
	"contains": interpolationFuncContains(),
	"split":    interpolationFuncSplit(),

	"has":   interpolationFuncHas(),
	"map":   interpolationFuncMap(),
	"keys":  interpolationFuncKeys(),
	"merge": interpolationFuncMerge(),
	"pick":  interpolationFuncPick(),
	"omit":  interpolationFuncOmit(),

	"join":   interpolationFuncJoin(),
	"list":   interpolationFuncList(),
	"concat": interpolationFuncConcat(),
	"unique": interpolationFuncUnique(),

	"max": interpolationFuncMax(),
	"min": interpolationFuncMin(),
	"avg": interpolationFuncAvg(),

	"jsonencode": interpolationFuncJSONEncode(),
	"base64enc":  interpolationFuncBase64Encode(),
	"base64dec":  interpolationFuncBase64Decode(),
}

CoreFunctions are the custom functions for interpolation

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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