[TD-6337]<docs>: fix taosdemo.go compile and build guidelines [ci skip]
This commit is contained in:
parent
7dcf682872
commit
9dc8e65879
|
@ -971,8 +971,12 @@ Go连接器支持的系统有:
|
||||||
```
|
```
|
||||||
在taosdemo.go所在目录下进行编译和执行:
|
在taosdemo.go所在目录下进行编译和执行:
|
||||||
```sh
|
```sh
|
||||||
go mod init *demo*
|
go mod init taosdemo
|
||||||
go build ./demo -h fqdn -p serverPort
|
go get github.com/taosdata/driver-go/taosSql
|
||||||
|
# use win branch in Windows platform.
|
||||||
|
#go get github.com/taosdata/driver-go/taosSql@win
|
||||||
|
go build
|
||||||
|
./taosdemo -h fqdn -p serverPort
|
||||||
```
|
```
|
||||||
|
|
||||||
### Go连接器的使用
|
### Go连接器的使用
|
||||||
|
|
Loading…
Reference in New Issue