diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2022-07-26 13:29:27 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2022-09-25 10:45:38 -0400 |
| commit | 5184fa4494d93c7dbe016c41ae282d016aa9590e (patch) | |
| tree | 0f2053d5e2eb3b95e1f86e41e90f213c9a6b2364 /docs/content/syntax.md | |
| parent | ea83b8fac9d2e795f97372266eb9c7693136e9d8 (diff) | |
Add coll.GoSlice and deprecate slice alias
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs/content/syntax.md')
| -rw-r--r-- | docs/content/syntax.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/syntax.md b/docs/content/syntax.md index 35f4c82e..277503f5 100644 --- a/docs/content/syntax.md +++ b/docs/content/syntax.md @@ -32,7 +32,7 @@ is rendered. By default, every line containing an action will render a newline. For example, the action block below: ``` -{{ range slice "Foo" "bar" "baz" }} +{{ range coll.Slice "Foo" "bar" "baz" }} Hello, {{ . }}! {{ end }} ``` @@ -60,7 +60,7 @@ Here are a few examples. ### Suppressing leading newlines ``` -{{- range slice "Foo" "bar" "baz" }} +{{- range coll.Slice "Foo" "bar" "baz" }} Hello, {{ . }}! {{- end }} ``` @@ -79,7 +79,7 @@ Hello, baz! This code: ``` -{{ range slice "Foo" "bar" "baz" -}} +{{ range coll.Slice "Foo" "bar" "baz" -}} Hello, {{ . }}! {{ end -}} ``` @@ -97,7 +97,7 @@ Hello, baz! This code: ``` -{{- range slice "Foo" "bar" "baz" -}} +{{- range coll.Slice "Foo" "bar" "baz" -}} Hello, {{ . }}! {{- end -}} ``` |
