提交 834a636d 编写于 作者: D dingbo

docs: fix go code

上级 f544c47a
......@@ -38,7 +38,7 @@ import (
func main() {
token := os.Getenv("TDENGINE_CLOUD_TOKEN")
taosDSN := "https://cloud.taosdata.com?token=" + token
taosDSN := "http(cloud.tdengine.com:8085)/?token=" + token
taos, err := sql.Open("taosRestful", taosDSN)
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.
先完成此消息的编辑!
想要评论请 注册