From 338c8a36da82ca430cf06b568b23b02a926ccb40 Mon Sep 17 00:00:00 2001 From: absurdfarce Date: Fri, 6 Sep 2024 14:44:11 -0500 Subject: [PATCH] Refactoring based on review feedback --- version.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.go b/version.go index eced18dfe..d045182de 100644 --- a/version.go +++ b/version.go @@ -27,7 +27,7 @@ package gocql import "runtime/debug" const ( - mainModule = "github.com/apache/cassandra-gocql-driver" + defaultDriverName = "github.com/apache/cassandra-gocql-driver" ) var driverName string @@ -39,7 +39,7 @@ func init() { if ok { for _, d := range buildInfo.Deps { if d.Path == mainModule { - driverName = mainModule + driverName = defaultDriverName driverVersion = d.Version if d.Replace != nil { driverName = d.Replace.Path