use type where possibel

This commit is contained in:
Joel Wetzell
2025-12-13 13:47:45 -06:00
parent 6842d8c9e6
commit bec31ff244
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ title: Create
sidebar: sidebar:
order: 3 order: 3
--- ---
The string create processor creates a string based on the provided template. This processor will return an error if there is an issue executing the template. The template property is just a [Go template](https://pkg.go.dev/text/template) that will be evaluated with the incoming message provided as an environment. The `string.create` processor creates a string based on the provided template. This processor will return an error if there is an issue executing the template. The template property is just a [Go template](https://pkg.go.dev/text/template) that will be evaluated with the incoming message provided as an environment.
- **type**: `string.create` - **type**: `string.create`
+1 -1
View File
@@ -3,7 +3,7 @@ title: Decode
sidebar: sidebar:
order: 1 order: 1
--- ---
The string decode processor takes a array of bytes and turn it into string. This processor will return an error if the message being processed is not an array of bytes. The `string.decode` processor takes a array of bytes and turn it into string. This processor will return an error if the message being processed is not an array of bytes.
- **type**: `string.decode` - **type**: `string.decode`
+1 -1
View File
@@ -3,7 +3,7 @@ title: Encode
sidebar: sidebar:
order: 2 order: 2
--- ---
The string encode processor takes a string and turns it into an array of bytes. This processor will return an error if the message being processed is not a string. The `string.encode` processor takes a string and turns it into an array of bytes. This processor will return an error if the message being processed is not a string.
- **type**: `string.encode` - **type**: `string.encode`