File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111- [ Getting Started] ( #getting-started )
1212- [ Usage] ( #usage )
13+ - [ File Functions] ( #file-functions )
1314 - [ String Functions] ( #string-functions )
1415 - [ Container Functions] ( #container-functions )
1516 - [ Parser Functions] ( #parser-functions )
@@ -44,11 +45,11 @@ Goplater uses Go's [builtin templating library](https://pkg.go.dev/text/template
4445File Content: ${{{ read "./myfile.txt" }}}
4546```
4647
48+ ### File Functions
49+
4750As you saw in the example above ` read ` is used for reading and output file contents.
4851But there are more as you will see in the following…
4952
50- ### String Functions
51-
5253#### ` read `
5354
5455Reads from absolute or relative file path (depending on input),
@@ -78,6 +79,8 @@ Performs a get http request to the specified url.
7879fetch "url"
7980```
8081
82+ ### String Functions
83+
8184#### ` trim `
8285
8386Outputs trimmed string.
You can’t perform that action at this time.
0 commit comments