From 86e57c9e327bf3462b27a248cb97d5eb7702d378 Mon Sep 17 00:00:00 2001 From: BoDing Date: Thu, 30 Jun 2022 21:39:36 +0800 Subject: [PATCH] test: user driver-go v2 latest --- docs/en/07-develop/01-connect/index.md | 6 +----- docs/examples/go/go.mod | 2 +- docs/zh/07-develop/01-connect/index.md | 6 +----- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/docs/en/07-develop/01-connect/index.md b/docs/en/07-develop/01-connect/index.md index 720f8e2384..df793f6d3f 100644 --- a/docs/en/07-develop/01-connect/index.md +++ b/docs/en/07-develop/01-connect/index.md @@ -98,11 +98,7 @@ pip install git+https://github.com/taosdata/taos-connector-python.git Just need to add `driver-go` dependency in `go.mod` . ```go-mod title=go.mod -module goexample - -go 1.17 - -require github.com/taosdata/driver-go/v2 develop +{{#include docs/examples/go/go.mod}} ``` :::note diff --git a/docs/examples/go/go.mod b/docs/examples/go/go.mod index cb1fec0194..b0f6fbcd50 100644 --- a/docs/examples/go/go.mod +++ b/docs/examples/go/go.mod @@ -2,4 +2,4 @@ module goexample go 1.17 -require github.com/taosdata/driver-go/v2 v2.0.2 +require github.com/taosdata/driver-go/v2 latest diff --git a/docs/zh/07-develop/01-connect/index.md b/docs/zh/07-develop/01-connect/index.md index b1857b9739..a56577e2be 100644 --- a/docs/zh/07-develop/01-connect/index.md +++ b/docs/zh/07-develop/01-connect/index.md @@ -99,11 +99,7 @@ pip install git+https://github.com/taosdata/taos-connector-python.git 编辑 `go.mod` 添加 `driver-go` 依赖即可。 ```go-mod title=go.mod -module goexample - -go 1.17 - -require github.com/taosdata/driver-go/v2 develop +{{#include docs/examples/go/go.mod}} ``` :::note -- GitLab