diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2021-04-18 13:17:16 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2021-04-18 13:17:16 -0400 |
| commit | 81471fdde23e2325f51593338de8f50fa93806c8 (patch) | |
| tree | e4db2b4cf9e40589de9c3a02fe2dbc7c918ea435 /docs | |
| parent | 6629110a906658151f838592f8b492c4a8b8e8ae (diff) | |
Fix 'files.IsDir' typo in doc example
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/content/datasources.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/datasources.md b/docs/content/datasources.md index 0b43898b..cf3667da 100644 --- a/docs/content/datasources.md +++ b/docs/content/datasources.md @@ -409,7 +409,7 @@ The _scheme_ and either the _path_ or the _opaque_ part are used, and the _query $ gomplate -d user=env:USER -i 'Hello {{ include "user" }}!' Hello hairyhenderson! -$ gomplate -d homedir=env:///HOME -i '{{ files.IsDir (ds "homedir") }}' +$ gomplate -d homedir=env:///HOME -i '{{ file.IsDir (ds "homedir") }}' true $ export foo='{"one":1, "two":2}' |
