feat: use "GetTags" and "SetTags"

This commit is contained in:
sujit
2025-07-31 09:31:28 +05:45
parent d814019d73
commit 103e8f8d88
19 changed files with 1818 additions and 1069 deletions

View File

@@ -10,6 +10,7 @@ import (
"github.com/oarkflow/json"
"github.com/oarkflow/mq/dag"
"github.com/oarkflow/mq/utils"
"github.com/oarkflow/jet"
@@ -19,7 +20,7 @@ import (
func main() {
flow := dag.NewDAG("SMS Sender", "sms-sender", func(taskID string, result mq.Result) {
fmt.Printf("SMS workflow completed for task %s: %s\n", taskID, string(result.Payload))
fmt.Printf("SMS workflow completed for task %s: %s\n", taskID, string(utils.RemoveRecursiveFromJSON(result.Payload, "html_content")))
})
// Add SMS workflow nodes