summaryrefslogtreecommitdiff
path: root/gomplate.go
diff options
context:
space:
mode:
Diffstat (limited to 'gomplate.go')
-rw-r--r--gomplate.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/gomplate.go b/gomplate.go
index 78317634..f02c6f14 100644
--- a/gomplate.go
+++ b/gomplate.go
@@ -52,6 +52,7 @@ func NewGomplate(data *Data, leftDelim, rightDelim string) *Gomplate {
"jsonArray": typeconv.JSONArray,
"yaml": typeconv.YAML,
"yamlArray": typeconv.YAMLArray,
+ "toml": typeconv.TOML,
"csv": typeconv.CSV,
"csvByRow": typeconv.CSVByRow,
"csvByColumn": typeconv.CSVByColumn,
@@ -61,6 +62,7 @@ func NewGomplate(data *Data, leftDelim, rightDelim string) *Gomplate {
"toJSON": typeconv.ToJSON,
"toJSONPretty": typeconv.toJSONPretty,
"toYAML": typeconv.ToYAML,
+ "toTOML": typeconv.ToTOML,
"toCSV": typeconv.ToCSV,
"ec2meta": ec2meta.Meta,
"ec2dynamic": ec2meta.Dynamic,