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

zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 7f1dfca74 fix(go): Use arrow-go in templates instead of arrow/go 
(#2712)
7f1dfca74 is described below

commit 7f1dfca741c298209e213d00d785c7a220bdc0bb
Author: Felipe Oliveira Carvalho <[email protected]>
AuthorDate: Thu Apr 17 10:27:10 2025 -0300

    fix(go): Use arrow-go in templates instead of arrow/go (#2712)
    
    This makes the templates consistent with the generated (then manually
    edited code).
---
 go/adbc/pkg/Makefile             | 2 +-
 go/adbc/pkg/_tmpl/driver.go.tmpl | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/go/adbc/pkg/Makefile b/go/adbc/pkg/Makefile
index 536dc6aab..0b09721ad 100644
--- a/go/adbc/pkg/Makefile
+++ b/go/adbc/pkg/Makefile
@@ -15,7 +15,7 @@
 # limitations under the License.
 
 GO_BUILD=go build
-RM=rm
+RM=rm -f
 ifeq ($(shell go env GOOS),linux)
        SUFFIX=so
 else ifeq ($(shell go env GOOS),windows)
diff --git a/go/adbc/pkg/_tmpl/driver.go.tmpl b/go/adbc/pkg/_tmpl/driver.go.tmpl
index 36d2cd529..bbede3b3c 100644
--- a/go/adbc/pkg/_tmpl/driver.go.tmpl
+++ b/go/adbc/pkg/_tmpl/driver.go.tmpl
@@ -59,10 +59,10 @@ import (
        "unsafe"
 
        "github.com/apache/arrow-adbc/go/adbc"
-       "github.com/apache/arrow/go/v18/arrow/array"
-       "github.com/apache/arrow/go/v18/arrow/cdata"
-       "github.com/apache/arrow/go/v18/arrow/memory"
-       "github.com/apache/arrow/go/v18/arrow/memory/mallocator"
+       "github.com/apache/arrow-go/v18/arrow/array"
+       "github.com/apache/arrow-go/v18/arrow/cdata"
+       "github.com/apache/arrow-go/v18/arrow/memory"
+       "github.com/apache/arrow-go/v18/arrow/memory/mallocator"
 )
 
 // Must use malloc() to respect CGO rules

Reply via email to