summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorhairyhenderson-bot[bot] <167488603+hairyhenderson-bot[bot]@users.noreply.github.com>2024-07-06 10:01:48 -0400
committerGitHub <noreply@github.com>2024-07-06 10:01:48 -0400
commitcc2584028866967a39b096265d5b9af4516c734f (patch)
treeff7256dfba9f77d1cdd4f540d6406eb9747b0e66 /docs
parentbdf3a1eb92020a0d1ce202df14b49f2f13445476 (diff)
chore(main): release 4.1.0 (#2153)
* chore(main): release 4.1.0 * docs: mark new strings funcs as released Signed-off-by: Dave Henderson <dhenderson@gmail.com> --------- Signed-off-by: Dave Henderson <dhenderson@gmail.com> Co-authored-by: hairyhenderson-bot[bot] <167488603+hairyhenderson-bot[bot]@users.noreply.github.com> Co-authored-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/content/functions/strings.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/functions/strings.md b/docs/content/functions/strings.md
index 9ec1589a..a451591d 100644
--- a/docs/content/functions/strings.md
+++ b/docs/content/functions/strings.md
@@ -669,12 +669,12 @@ $ gomplate -i '{{ "_-foo-_" | strings.Trim "_-" }}'
foo
```
-## `strings.TrimLeft`_(unreleased)_
-**Unreleased:** _This function is in development, and not yet available in released builds of gomplate._
+## `strings.TrimLeft`
Trims a string by removing the given characters from the beginning of the string.
This wraps Go's [`strings.TrimLeft`](https://pkg.go.dev/strings#TrimLeft).
+_Added in gomplate [v4.1.0](https://github.com/hairyhenderson/gomplate/releases/tag/v4.1.0)_
### Usage
```
@@ -728,12 +728,12 @@ $ gomplate -i '{{ "hello, world" | strings.TrimPrefix "hello, " }}'
world
```
-## `strings.TrimRight`_(unreleased)_
-**Unreleased:** _This function is in development, and not yet available in released builds of gomplate._
+## `strings.TrimRight`
Trims a string by removing the given characters from the end of the string.
This wraps Go's [`strings.TrimRight`](https://pkg.go.dev/strings#TrimRight).
+_Added in gomplate [v4.1.0](https://github.com/hairyhenderson/gomplate/releases/tag/v4.1.0)_
### Usage
```