From 1b04b71d9d0270e47408feb6ad092043829883f8 Mon Sep 17 00:00:00 2001 From: wispem-wantex Date: Sat, 12 Jul 2025 12:29:28 -0700 Subject: [PATCH] Rename go.mod module name according to git path --- go.mod | 2 +- pkg/db/connect_test.go | 2 +- pkg/schema/parse.go | 4 ++-- pkg/schema/parse_test.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 19915db..40813f1 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gas_stack +module git.offline-twitter.com/offline-labs/gas-stack go 1.22.5 diff --git a/pkg/db/connect_test.go b/pkg/db/connect_test.go index 6b58727..5e5adc8 100644 --- a/pkg/db/connect_test.go +++ b/pkg/db/connect_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gas_stack/pkg/db" + "git.offline-twitter.com/offline-labs/gas-stack/pkg/db" ) func TestCreateAndConnectToDB(t *testing.T) { diff --git a/pkg/schema/parse.go b/pkg/schema/parse.go index f03c075..b1a53ab 100644 --- a/pkg/schema/parse.go +++ b/pkg/schema/parse.go @@ -1,13 +1,13 @@ package schema import ( - "gas_stack/pkg/textutils" "strings" "github.com/jinzhu/inflection" "github.com/jmoiron/sqlx" - _ "github.com/mattn/go-sqlite3" + + "git.offline-twitter.com/offline-labs/gas-stack/pkg/textutils" ) // InitDB creates an in-memory DB from a given schema string. diff --git a/pkg/schema/parse_test.go b/pkg/schema/parse_test.go index e4c444f..f6ec854 100644 --- a/pkg/schema/parse_test.go +++ b/pkg/schema/parse_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gas_stack/pkg/schema" + "git.offline-twitter.com/offline-labs/gas-stack/pkg/schema" ) func TestParseSchema(t *testing.T) {