diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2017-05-22 23:26:56 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2017-05-29 22:47:43 -0400 |
| commit | ddb36e8a78b83267020c8e2d7dd1a7280cdd93f2 (patch) | |
| tree | 74ccbe95827732f91a367970ef5ed213799bd413 /gomplate.go | |
| parent | 49b3104dc50a1cf14ca4a0caaa8bd91f6317c298 (diff) | |
Adding CSV datasource support
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'gomplate.go')
| -rw-r--r-- | gomplate.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gomplate.go b/gomplate.go index c2490e81..290069ff 100644 --- a/gomplate.go +++ b/gomplate.go @@ -52,12 +52,16 @@ func NewGomplate(data *Data, leftDelim, rightDelim string) *Gomplate { "jsonArray": typeconv.JSONArray, "yaml": typeconv.YAML, "yamlArray": typeconv.YAMLArray, + "csv": typeconv.CSV, + "csvByRow": typeconv.CSVByRow, + "csvByColumn": typeconv.CSVByColumn, "slice": typeconv.Slice, "indent": typeconv.indent, "join": typeconv.Join, "toJSON": typeconv.ToJSON, "toJSONPretty": typeconv.toJSONPretty, "toYAML": typeconv.ToYAML, + "toCSV": typeconv.ToCSV, "ec2meta": ec2meta.Meta, "ec2dynamic": ec2meta.Dynamic, "ec2tag": ec2info.Tag, |
