From aad6151cbd1cf8ffcdc74537974fe7f46aa471ab Mon Sep 17 00:00:00 2001 From: sunpeng Date: Mon, 19 Dec 2022 17:24:42 +0800 Subject: [PATCH] docs: update go tmq demo (#19018) --- docs/examples/go/sub/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/go/sub/main.go b/docs/examples/go/sub/main.go index 7721eed134..3aa2fed729 100644 --- a/docs/examples/go/sub/main.go +++ b/docs/examples/go/sub/main.go @@ -24,7 +24,7 @@ func main() { if err != nil { panic(err) } - _, err = db.Exec("create topic if not exists example_tmq_topic with meta as DATABASE example_tmq") + _, err = db.Exec("create topic if not exists example_tmq_topic as DATABASE example_tmq") if err != nil { panic(err) }