未验证 提交 5a1ef746 编写于 作者: CsongSY's avatar CsongSY 提交者: GitHub

Update go.mdx (#12506)

go连接器,rest连接示例代码错误纠正,     var taosUri = "root:taosdata/http(localhost:6041)/"   ==>  var taosUri = "root:taosdata@http(localhost:6041)/"
上级 f3a107a8
......@@ -168,7 +168,7 @@ import (
)
func main() {
var taosUri = "root:taosdata/http(localhost:6041)/"
var taosUri = "root:taosdata@http(localhost:6041)/"
taos, err := sql.Open("taosRestful", taosUri)
if err != nil {
fmt.Println("failed to connect TDengine, err:", err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册