Skip to content

Commit

Permalink
Fixing coll.JSONPath reference in docs
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Henderson <[email protected]>
  • Loading branch information
hairyhenderson committed Apr 10, 2019
1 parent 56fbcc8 commit acc5141
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs-src/content/functions/coll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ funcs:
$ gomplate -i '{{ $o := data.JSON (getenv "DATA") -}}
{{ if (has $o "foo") }}{{ $o.foo }}{{ else }}THERE IS NO FOO{{ end }}'
THERE IS NO FOO
- name: conv.JSONPath
- name: coll.JSONPath
alias: jsonpath
description: |
Extracts portions of an input object or list using a [JSONPath][] expression.
Expand Down
6 changes: 3 additions & 3 deletions docs/content/functions/coll.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ $ gomplate -i '{{ $o := data.JSON (getenv "DATA") -}}
THERE IS NO FOO
```

## `conv.JSONPath`
## `coll.JSONPath`

**Alias:** `jsonpath`

Expand All @@ -140,10 +140,10 @@ JSONPath expressions can be validated at https://jsonpath.com
### Usage

```go
conv.JSONPath expression in
coll.JSONPath expression in
```
```go
in | conv.JSONPath expression
in | coll.JSONPath expression
```

### Arguments
Expand Down

0 comments on commit acc5141

Please sign in to comment.