提交 0b96b58a 编写于 作者: D dingbo

docs:connect go

上级 922b99fb
...@@ -33,21 +33,21 @@ Run this command in your terminal to save DSN(data source name) as variable: ...@@ -33,21 +33,21 @@ Run this command in your terminal to save DSN(data source name) as variable:
<TabItem value="bash" label="Bash"> <TabItem value="bash" label="Bash">
```bash ```bash
export TDENGINE_GO_DSN=<goDSN> export TDENGINE_GO_DSN=<DSN>
``` ```
</TabItem> </TabItem>
<TabItem value="cmd" label="CMD"> <TabItem value="cmd" label="CMD">
```bash ```bash
set TDENGINE_GO_DSN="<goDSN>" set TDENGINE_GO_DSN="<DSN>"
``` ```
</TabItem> </TabItem>
<TabItem value="powershell" label="Powershell"> <TabItem value="powershell" label="Powershell">
```powershell ```powershell
$env:TDENGINE_GO_DSN="<goDSN>" $env:TDENGINE_GO_DSN="<DSN>"
``` ```
</TabItem> </TabItem>
...@@ -56,8 +56,8 @@ $env:TDENGINE_GO_DSN="<goDSN>" ...@@ -56,8 +56,8 @@ $env:TDENGINE_GO_DSN="<goDSN>"
<!-- exclude --> <!-- exclude -->
:::note :::note
Replace <goDSN\> with the real value, the format should be `https(<cloud_host>)/?token=<token>`. Replace <DSN\> with the real value, the format should be `https(<cloud_host>)/?token=<token>`.
To obtain the value of `goDSN`, please log in [TDengine Cloud](https://cloud.tdengine.com) and click "Connector" and then select "Go". To obtain the value of `DSN`, please log in [TDengine Cloud](https://cloud.tdengine.com) and click "Connector" and then select "Go".
::: :::
<!-- exclude-end --> <!-- exclude-end -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册