diff --git a/content/influxdb/cloud-dedicated/get-started/query.md b/content/influxdb/cloud-dedicated/get-started/query.md index 3845f9052..9cbf6bd3d 100644 --- a/content/influxdb/cloud-dedicated/get-started/query.md +++ b/content/influxdb/cloud-dedicated/get-started/query.md @@ -593,7 +593,7 @@ _If your project's virtual environment is already running, skip to step 3._ "time" "text/tabwriter" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { @@ -659,7 +659,7 @@ _If your project's virtual environment is already running, skip to step 3._ - `io` - `os` - `text/tabwriter` - - `github.com/InfluxCommunity/influxdb3-go/influxdb3/v1` + - `github.com/InfluxCommunity/influxdb3-go/v2/influxdb3` 2. Defines a `Query()` function that does the following: diff --git a/content/influxdb/cloud-dedicated/get-started/write.md b/content/influxdb/cloud-dedicated/get-started/write.md index 47f0ee8e8..723bd4dd4 100644 --- a/content/influxdb/cloud-dedicated/get-started/write.md +++ b/content/influxdb/cloud-dedicated/get-started/write.md @@ -835,7 +835,7 @@ To write data to {{% product-name %}} using Go, use the InfluxDB v3 "fmt" "log" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) // Write line protocol data to InfluxDB diff --git a/content/influxdb/cloud-dedicated/query-data/execute-queries/client-libraries/go.md b/content/influxdb/cloud-dedicated/query-data/execute-queries/client-libraries/go.md index 5224f6595..b9ee9b6b7 100644 --- a/content/influxdb/cloud-dedicated/query-data/execute-queries/client-libraries/go.md +++ b/content/influxdb/cloud-dedicated/query-data/execute-queries/client-libraries/go.md @@ -21,7 +21,7 @@ list_code_example: | ```go import ( "context" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { @@ -94,7 +94,7 @@ to install a recent version of the Go programming language for your system. In your terminal, enter the following command to download and install the client library: ```sh -go get github.com/InfluxCommunity/influxdb3-go +go get github.com/InfluxCommunity/influxdb3-go/v2 ``` - [`influxdb3-go`](https://github.com/InfluxCommunity/influxdb3-go) {{< req text="\* " color="magenta" >}}: Provides the `influxdb3` package and also installs the [Apache `arrow` module](https://arrow.apache.org/docs/python/index.html) for working with Arrow data returned from queries. @@ -139,7 +139,7 @@ import ( "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { @@ -234,7 +234,7 @@ import ( "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func InfluxQL() error { diff --git a/content/influxdb/cloud-dedicated/query-data/influxql/parameterized-queries.md b/content/influxdb/cloud-dedicated/query-data/influxql/parameterized-queries.md index 989dd20da..7402ee2e0 100644 --- a/content/influxdb/cloud-dedicated/query-data/influxql/parameterized-queries.md +++ b/content/influxdb/cloud-dedicated/query-data/influxql/parameterized-queries.md @@ -257,7 +257,7 @@ import ( "os" "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query(query string, parameters influxdb3.QueryParameters, diff --git a/content/influxdb/cloud-dedicated/query-data/sql/parameterized-queries.md b/content/influxdb/cloud-dedicated/query-data/sql/parameterized-queries.md index 289a436dd..9296e0820 100644 --- a/content/influxdb/cloud-dedicated/query-data/sql/parameterized-queries.md +++ b/content/influxdb/cloud-dedicated/query-data/sql/parameterized-queries.md @@ -254,7 +254,7 @@ import ( "os" "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query(query string, parameters influxdb3.QueryParameters) error { diff --git a/content/influxdb/cloud-dedicated/reference/client-libraries/v3/go.md b/content/influxdb/cloud-dedicated/reference/client-libraries/v3/go.md index 5f1d6b1c4..240556922 100644 --- a/content/influxdb/cloud-dedicated/reference/client-libraries/v3/go.md +++ b/content/influxdb/cloud-dedicated/reference/client-libraries/v3/go.md @@ -20,7 +20,7 @@ to write and query data stored in an {{% product-name %}} database. ## Installation ```sh -go get github.com/InfluxCommunity/influxdb3-go +go get github.com/InfluxCommunity/influxdb3-go/v2 ``` ## Importing the package @@ -31,7 +31,7 @@ Import the package: ```go import ( - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) ``` @@ -75,7 +75,7 @@ Initializes and returns a `influxdb3.Client` instance with the following: package main import ( - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func main() { diff --git a/content/influxdb/cloud-dedicated/write-data/line-protocol/client-libraries.md b/content/influxdb/cloud-dedicated/write-data/line-protocol/client-libraries.md index a399cb7ac..fbb22ebec 100644 --- a/content/influxdb/cloud-dedicated/write-data/line-protocol/client-libraries.md +++ b/content/influxdb/cloud-dedicated/write-data/line-protocol/client-libraries.md @@ -119,7 +119,7 @@ The following steps set up a Go project using the which provides the InfluxDB `influxdb3` Go client library module. ```sh - go get github.com/InfluxCommunity/influxdb3-go + go get github.com/InfluxCommunity/influxdb3-go/v2 ``` @@ -228,7 +228,7 @@ points. "os" "fmt" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" "github.com/influxdata/line-protocol/v2/lineprotocol" ) diff --git a/content/influxdb/cloud-serverless/get-started/query.md b/content/influxdb/cloud-serverless/get-started/query.md index 87329db91..7fc2a7d93 100644 --- a/content/influxdb/cloud-serverless/get-started/query.md +++ b/content/influxdb/cloud-serverless/get-started/query.md @@ -538,7 +538,7 @@ _If your project's virtual environment is already running, skip to step 3._ "time" "text/tabwriter" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { @@ -604,7 +604,7 @@ _If your project's virtual environment is already running, skip to step 3._ - `io` - `os` - `text/tabwriter` - - `github.com/InfluxCommunity/influxdb3-go/influxdb3/v1` + - `github.com/InfluxCommunity/influxdb3-go/v2/influxdb3` 2. Defines a `Query()` function that does the following: diff --git a/content/influxdb/cloud-serverless/get-started/write.md b/content/influxdb/cloud-serverless/get-started/write.md index 94cb40c99..b31439c80 100644 --- a/content/influxdb/cloud-serverless/get-started/write.md +++ b/content/influxdb/cloud-serverless/get-started/write.md @@ -804,7 +804,7 @@ InfluxDB v3 [influxdb3-go client library package](https://github.com/InfluxCommu "fmt" "log" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) // Write line protocol data to InfluxDB diff --git a/content/influxdb/cloud-serverless/query-data/execute-queries/client-libraries/go.md b/content/influxdb/cloud-serverless/query-data/execute-queries/client-libraries/go.md index 9bf148b6c..6e11e6d34 100644 --- a/content/influxdb/cloud-serverless/query-data/execute-queries/client-libraries/go.md +++ b/content/influxdb/cloud-serverless/query-data/execute-queries/client-libraries/go.md @@ -21,7 +21,7 @@ list_code_example: | ```go import ( "context" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { @@ -94,7 +94,7 @@ to install a recent version of the Go programming language for your system. In your terminal, enter the following command to download and install the client library: ```sh -go get github.com/InfluxCommunity/influxdb3-go +go get github.com/InfluxCommunity/influxdb3-go/v2 ``` - [`influxdb3-go`](https://github.com/InfluxCommunity/influxdb3-go) {{< req text="\* " color="magenta" >}}: Provides the `influxdb3` package and also installs the [Apache `arrow` module](https://arrow.apache.org/docs/python/index.html) for working with Arrow data returned from queries. @@ -138,7 +138,7 @@ import ( "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { @@ -233,7 +233,7 @@ import ( "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func InfluxQL() error { diff --git a/content/influxdb/cloud-serverless/query-data/influxql/parameterized-queries.md b/content/influxdb/cloud-serverless/query-data/influxql/parameterized-queries.md index e54196f52..27faaf457 100644 --- a/content/influxdb/cloud-serverless/query-data/influxql/parameterized-queries.md +++ b/content/influxdb/cloud-serverless/query-data/influxql/parameterized-queries.md @@ -257,7 +257,7 @@ import ( "os" "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query(query string, parameters influxdb3.QueryParameters, diff --git a/content/influxdb/cloud-serverless/query-data/sql/parameterized-queries.md b/content/influxdb/cloud-serverless/query-data/sql/parameterized-queries.md index 7db5bfadd..ff6830a0a 100644 --- a/content/influxdb/cloud-serverless/query-data/sql/parameterized-queries.md +++ b/content/influxdb/cloud-serverless/query-data/sql/parameterized-queries.md @@ -254,7 +254,7 @@ import ( "os" "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query(query string, parameters influxdb3.QueryParameters) error { diff --git a/content/influxdb/cloud-serverless/reference/client-libraries/v3/go.md b/content/influxdb/cloud-serverless/reference/client-libraries/v3/go.md index a2a44fd2a..936fa6af0 100644 --- a/content/influxdb/cloud-serverless/reference/client-libraries/v3/go.md +++ b/content/influxdb/cloud-serverless/reference/client-libraries/v3/go.md @@ -20,7 +20,7 @@ to write and query data stored in an {{% product-name %}} bucket. ## Installation ```sh -go get github.com/InfluxCommunity/influxdb3-go +go get github.com/InfluxCommunity/influxdb3-go/v2 ``` ## Importing the package @@ -31,7 +31,7 @@ Import the package: ```go import ( - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) ``` @@ -75,7 +75,7 @@ Initializes and returns a `influxdb3.Client` instance with the following: package main import ( - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { diff --git a/content/influxdb/cloud-serverless/write-data/line-protocol/client-libraries.md b/content/influxdb/cloud-serverless/write-data/line-protocol/client-libraries.md index 3f831f92a..3b7e82f84 100644 --- a/content/influxdb/cloud-serverless/write-data/line-protocol/client-libraries.md +++ b/content/influxdb/cloud-serverless/write-data/line-protocol/client-libraries.md @@ -120,7 +120,7 @@ The following steps set up a Go project using the which provides the InfluxDB `influxdb3` Go client library module. ```sh - go get github.com/InfluxCommunity/influxdb3-go + go get github.com/InfluxCommunity/influxdb3-go/v2 ``` @@ -229,7 +229,7 @@ points. "os" "fmt" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" "github.com/influxdata/line-protocol/v2/lineprotocol" ) diff --git a/content/influxdb/clustered/get-started/query.md b/content/influxdb/clustered/get-started/query.md index 4155e589b..0d0de30c2 100644 --- a/content/influxdb/clustered/get-started/query.md +++ b/content/influxdb/clustered/get-started/query.md @@ -585,7 +585,7 @@ _If your project's virtual environment is already running, skip to step 3._ "time" "text/tabwriter" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { @@ -651,7 +651,7 @@ _If your project's virtual environment is already running, skip to step 3._ - `io` - `os` - `text/tabwriter` - - `github.com/InfluxCommunity/influxdb3-go/influxdb3/v1` + - `github.com/InfluxCommunity/influxdb3-go/v2/influxdb3` 2. Defines a `Query()` function that does the following: diff --git a/content/influxdb/clustered/get-started/write.md b/content/influxdb/clustered/get-started/write.md index 5fd305761..90032a744 100644 --- a/content/influxdb/clustered/get-started/write.md +++ b/content/influxdb/clustered/get-started/write.md @@ -840,7 +840,7 @@ To write data to {{% product-name %}} using Go, use the InfluxDB v3 "fmt" "log" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) // Write line protocol data to InfluxDB diff --git a/content/influxdb/clustered/query-data/execute-queries/client-libraries/go.md b/content/influxdb/clustered/query-data/execute-queries/client-libraries/go.md index 76b2f9e38..e7ac09109 100644 --- a/content/influxdb/clustered/query-data/execute-queries/client-libraries/go.md +++ b/content/influxdb/clustered/query-data/execute-queries/client-libraries/go.md @@ -21,7 +21,7 @@ list_code_example: | ```go import ( "context" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { @@ -94,7 +94,7 @@ to install a recent version of the Go programming language for your system. In your terminal, enter the following command to download and install the client library: ```sh -go get github.com/InfluxCommunity/influxdb3-go +go get github.com/InfluxCommunity/influxdb3-go/v2 ``` - [`influxdb3-go`](https://github.com/InfluxCommunity/influxdb3-go) {{< req text="\* " color="magenta" >}}: Provides the `influxdb3` package and also installs the [Apache `arrow` module](https://arrow.apache.org/docs/python/index.html) for working with Arrow data returned from queries. @@ -137,7 +137,7 @@ import ( "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query() error { @@ -232,7 +232,7 @@ import ( "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func InfluxQL() error { diff --git a/content/influxdb/clustered/query-data/influxql/parameterized-queries.md b/content/influxdb/clustered/query-data/influxql/parameterized-queries.md index a50045ae1..6147ca0c5 100644 --- a/content/influxdb/clustered/query-data/influxql/parameterized-queries.md +++ b/content/influxdb/clustered/query-data/influxql/parameterized-queries.md @@ -257,7 +257,7 @@ import ( "os" "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query(query string, parameters influxdb3.QueryParameters, diff --git a/content/influxdb/clustered/query-data/sql/parameterized-queries.md b/content/influxdb/clustered/query-data/sql/parameterized-queries.md index 26372392b..0458658ce 100644 --- a/content/influxdb/clustered/query-data/sql/parameterized-queries.md +++ b/content/influxdb/clustered/query-data/sql/parameterized-queries.md @@ -254,7 +254,7 @@ import ( "os" "text/tabwriter" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func Query(query string, parameters influxdb3.QueryParameters) error { diff --git a/content/influxdb/clustered/reference/client-libraries/v3/go.md b/content/influxdb/clustered/reference/client-libraries/v3/go.md index 149c285a2..3662e9687 100644 --- a/content/influxdb/clustered/reference/client-libraries/v3/go.md +++ b/content/influxdb/clustered/reference/client-libraries/v3/go.md @@ -20,7 +20,7 @@ to write and query data stored in an {{% product-name %}} database. ## Installation ```sh -go get github.com/InfluxCommunity/influxdb3-go +go get github.com/InfluxCommunity/influxdb3-go/v2 ``` ## Importing the package @@ -31,7 +31,7 @@ Import the package: ```go import ( - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) ``` @@ -75,7 +75,7 @@ Initializes and returns a `influxdb3.Client` instance with the following: package main import ( - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" ) func main() { diff --git a/content/influxdb/clustered/write-data/line-protocol/client-libraries.md b/content/influxdb/clustered/write-data/line-protocol/client-libraries.md index 29459637b..9d421bb69 100644 --- a/content/influxdb/clustered/write-data/line-protocol/client-libraries.md +++ b/content/influxdb/clustered/write-data/line-protocol/client-libraries.md @@ -120,7 +120,7 @@ The following steps set up a Go project using the which provides the InfluxDB `influxdb3` Go client library module. ```sh - go get github.com/InfluxCommunity/influxdb3-go + go get github.com/InfluxCommunity/influxdb3-go/v2 ``` @@ -229,7 +229,7 @@ points. "os" "fmt" "time" - "github.com/InfluxCommunity/influxdb3-go/influxdb3/v1" + "github.com/InfluxCommunity/influxdb3-go/v2/influxdb3" "github.com/influxdata/line-protocol/v2/lineprotocol" )