diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 11:23:40 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 11:23:40 +0200 |
commit | a89a4ddcd930ba18fe923bdb4ebf40772a1cbb80 (patch) | |
tree | 84253c4db64c741a8f26e46ef3ce7be63fb9641b /cmd | |
parent | 4962f21fbba949ae11638af5fd7292fe07ef94f1 (diff) |
Format code
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/exttmpl/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/exttmpl/main.go b/cmd/exttmpl/main.go index 599879a..930f2d7 100644 --- a/cmd/exttmpl/main.go +++ b/cmd/exttmpl/main.go @@ -123,8 +123,8 @@ func process(tmplMsgs *[]pipeline.Message, node parse.Node) { if sn, ok := arg.(*parse.StringNode); ok { txt := collapse(sn.Text) *tmplMsgs = append(*tmplMsgs, pipeline.Message{ - ID: pipeline.IDList{txt}, - Key: txt, + ID: pipeline.IDList{txt}, + Key: txt, Message: pipeline.Text{Msg: txt}, }) } |