Skip to content

Commit 11eaea3

Browse files
committed
docs(functions): Add missing (printf) function in syntax documentation
1 parent c42463e commit 11eaea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/reference/templates/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1724,7 +1724,7 @@ the end.
17241724
#### printf
17251725

17261726
```yag
1727-
{{ $result := <format> <args...> }}
1727+
{{ $result := printf <format> <args...> }}
17281728
```
17291729

17301730
Interpolates `args...` according to `format`. See the [Go `fmt` package documentation](https://pkg.go.dev/fmt).

0 commit comments

Comments
 (0)