提交 be94330d 编写于 作者: D dingbo

docs: go and cli

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