From cc2584028866967a39b096265d5b9af4516c734f Mon Sep 17 00:00:00 2001 From: "hairyhenderson-bot[bot]" <167488603+hairyhenderson-bot[bot]@users.noreply.github.com> Date: Sat, 6 Jul 2024 10:01:48 -0400 Subject: 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 --------- Signed-off-by: Dave Henderson Co-authored-by: hairyhenderson-bot[bot] <167488603+hairyhenderson-bot[bot]@users.noreply.github.com> Co-authored-by: Dave Henderson --- docs/content/functions/strings.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/content') 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 ``` -- cgit v1.2.3