From 1dc1f5300c2954d9fa715a4dd22bb7b29052fd5f Mon Sep 17 00:00:00 2001 From: Liuhaai Date: Tue, 6 Jun 2023 13:10:08 -0700 Subject: [PATCH] fix typo in go example code --- src/constants/publish-event-code-templates/http/go.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/constants/publish-event-code-templates/http/go.ts b/src/constants/publish-event-code-templates/http/go.ts index ab1843f1..a9f6f99c 100644 --- a/src/constants/publish-event-code-templates/http/go.ts +++ b/src/constants/publish-event-code-templates/http/go.ts @@ -20,9 +20,7 @@ func main() { method := "POST" - payload := strings.NewReader( - ${JSON.stringify(body)} - ) + payload := strings.NewReader(${JSON.stringify(body)}) client := &http.Client {}