Skip to content

Commit f459ee7

Browse files
committed
2 parents a443c9a + a3a05aa commit f459ee7

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/templates/README.template.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- [Getting Started](#getting-started)
1212
- [Usage](#usage)
13+
- [File Functions](#file-functions)
1314
- [String Functions](#string-functions)
1415
- [Math Functions](#math-functions)
1516
- [Container Functions](#container-functions)
@@ -45,11 +46,11 @@ Goplater uses Go's [builtin templating library](https://pkg.go.dev/text/template
4546
File Content: +​{​{​{ read "./myfile.txt" }​}​}
4647
```
4748

49+
### File Functions
50+
4851
As you saw in the example above `read` is used for reading and output file contents.
4952
But there are more as you will see in the following…
5053

51-
### String Functions
52-
5354
#### `read`
5455

5556
Reads from absolute or relative file path (depending on input),
@@ -77,6 +78,8 @@ Performs a get http request to the specified url.
7778
fetch "url"
7879
```
7980

81+
### String Functions
82+
8083
#### `trim`
8184

8285
Outputs trimmed string.

LICENSE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 CodeShellDev
3+
Copyright (c) 2025-2026 CodeShellDev
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -20,3 +20,4 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
2222

23+

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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
4445
File Content: $​{​{​{ read "./myfile.txt" }​}​}
4546
```
4647

48+
### File Functions
49+
4750
As you saw in the example above `read` is used for reading and output file contents.
4851
But there are more as you will see in the following…
4952

50-
### String Functions
51-
5253
#### `read`
5354

5455
Reads from absolute or relative file path (depending on input),
@@ -78,6 +79,8 @@ Performs a get http request to the specified url.
7879
fetch "url"
7980
```
8081

82+
### String Functions
83+
8184
#### `trim`
8285

8386
Outputs trimmed string.

0 commit comments

Comments
 (0)