This is an automated email from the ASF dual-hosted git repository.

F21 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git


The following commit(s) were added to refs/heads/main by this push:
     new 01a4ba6  Correct Go driver README quickstart
01a4ba6 is described below

commit 01a4ba64164e067428e5c24e97596f2d546a4d97
Author: dajiaohuang <[email protected]>
AuthorDate: Sun Oct 25 10:05:40 2026 +0800

    Correct Go driver README quickstart
    
    Assisted-by: OpenAI Codex CLI 0.163.0
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index f0940f4..52ecc1a 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Avatica is a sub-project of [Apache 
Calcite](https://calcite.apache.org).
 Install using Go modules:
 
 ```
-$ go get github.com/apache/calcite-avatica-go
+$ go get github.com/apache/calcite-avatica-go/v5
 ```
 
 The Phoenix/Avatica driver implements Go's `database/sql/driver` interface, 
so, import the
@@ -46,7 +46,7 @@ db, err := sql.Open("avatica", "http://localhost:8765";)
 Then simply use the database connection to query some data, for example:
 
 ```
-rows := db.Query("SELECT COUNT(*) FROM test")
+rows, err := db.Query("SELECT COUNT(*) FROM test")
 ```
 
 For more details, see the [home 
page](https://calcite.apache.org/avatica/docs/go_client_reference.html).

Reply via email to