diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2019-10-10 22:26:36 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2019-10-10 22:26:36 -0400 |
| commit | a8436d299a7c787bc1fd89d5696394a56f0c6149 (patch) | |
| tree | 01e2e92abfa0c3f2b5053fbeb073a65bbaebba86 /docs-src | |
| parent | 0de8ca662e8fec58628c85d509556ff74c8cba11 (diff) | |
Fix example in docs for coll.Uniq
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs-src')
| -rw-r--r-- | docs-src/content/functions/coll.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs-src/content/functions/coll.yml b/docs-src/content/functions/coll.yml index ff548b0c..62d3cbcc 100644 --- a/docs-src/content/functions/coll.yml +++ b/docs-src/content/functions/coll.yml @@ -191,8 +191,6 @@ funcs: Remove any duplicate values from the list, without changing order. _Note that this function does not change the given list; it always produces a new one._ - - See also [`coll.Append`](#coll-append). pipeline: true arguments: - name: list @@ -200,8 +198,8 @@ funcs: description: the input list examples: - | - $ gomplate -i '{{ slice 4 3 2 1 | prepend 5 }}' - [5 4 3 2 1] + $ gomplate -i '{{ slice 1 2 3 2 3 4 1 5 | uniq }}' + [1 2 3 4 5] - name: coll.Reverse alias: reverse description: | |
