From 9e6bc0ec60de41b20bf3788fd6dffcad5cd27fe6 Mon Sep 17 00:00:00 2001 From: Anton Troshin Date: Mon, 14 Aug 2023 23:11:32 -0500 Subject: [PATCH] Fix Programmatic subscription Go example (#3679) Signed-off-by: Anton Troshin Co-authored-by: Mark Fussell --- .../building-blocks/pubsub/subscription-methods.md | 1 + 1 file changed, 1 insertion(+) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/subscription-methods.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/subscription-methods.md index 5b760ef6e..0b9e2ca2b 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/subscription-methods.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/subscription-methods.md @@ -321,6 +321,7 @@ app.listen(port, () => console.log(`consumer app listening on port ${port}!`)) ```go package main +import ( "encoding/json" "fmt" "log"