diff --git a/examples/go/taosdemo.go b/examples/go/taosdemo.go index 543cfcc0f65aad154cc411891a76ae2fdb4e0e02..03cab74d6de14928e61c08d8e413b6cff073d547 100644 --- a/examples/go/taosdemo.go +++ b/examples/go/taosdemo.go @@ -26,7 +26,7 @@ import ( "sync" "time" - _ "github.com/taosdata/driver-go/taosSql" + _ "github.com/taosdata/driver-go/v3/taosSql" ) const ( @@ -173,7 +173,7 @@ func createDatabase(dbName string, supTblName string) { time.Sleep(time.Second) // create database - sqlStr = "create database " + dbName + " keep " + strconv.Itoa(configPara.keep) + " days " + strconv.Itoa(configPara.days) + sqlStr = "create database " + dbName _, err = db.Exec(sqlStr) checkErr(err, sqlStr)