From be94330dae1648471b95b3dad398e308aed3643a Mon Sep 17 00:00:00 2001 From: dingbo Date: Thu, 16 Jun 2022 18:36:19 +0800 Subject: [PATCH] docs: go and cli --- docs/en/05-develop/01-connect/03-go.md | 10 +++++----- docs/en/07-tools/01-cli.md | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/en/05-develop/01-connect/03-go.md b/docs/en/05-develop/01-connect/03-go.md index f79e0ebd0f..457583fec9 100644 --- a/docs/en/05-develop/01-connect/03-go.md +++ b/docs/en/05-develop/01-connect/03-go.md @@ -33,21 +33,21 @@ Run this command in your terminal to save DSN(data source name) as variable: ```bash -export TDENGINE_GO_DSN= +export TDENGINE_GO_DSN= ``` ```bash -set TDENGINE_GO_DSN="" +set TDENGINE_GO_DSN="" ``` ```powershell -$env:TDENGINE_GO_DSN="" +$env:TDENGINE_GO_DSN="" ``` @@ -56,8 +56,8 @@ $env:TDENGINE_GO_DSN="" :::note -Replace with the real value, the format should be `https()/?token=`. -To obtain the value of `DSN`, please log in [TDengine Cloud](https://cloud.tdengine.com) and click "Connector" and then select "Go". +Replace with the real value, the format should be `https()/?token=`. +To obtain the value of `goDSN`, please log in [TDengine Cloud](https://cloud.tdengine.com) and click "Connector" and then select "Go". ::: diff --git a/docs/en/07-tools/01-cli.md b/docs/en/07-tools/01-cli.md index 13a0ab34df..f313a00896 100644 --- a/docs/en/07-tools/01-cli.md +++ b/docs/en/07-tools/01-cli.md @@ -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= ``` @@ -27,8 +27,8 @@ export TDENGINE_CLOUD_DSN= Run this command in your Windows terminal to save your URL and token as variable: -``` -set TDENGINE_CLOUD_DSN= +```bash +set TDENGINE_CLOUD_DSN="" ``` @@ -36,7 +36,7 @@ set TDENGINE_CLOUD_DSN= Run this command in your Mac terminal to save your URL and token as variable: -``` +```bash export TDENGINE_CLOUD_DSN= ``` -- GitLab