From 1b5129791cc84028620bc4a22f59dc1d2954eb9a Mon Sep 17 00:00:00 2001 From: thatmattlove Date: Sat, 23 Sep 2023 23:35:02 -0400 Subject: [PATCH] fix module version --- cmd/commands.go | 6 +++--- go.mod | 2 +- internal/logger/logger_test.go | 2 +- internal/util/util_test.go | 2 +- main.go | 2 +- oui/collect_csv_test.go | 2 +- oui/db_test.go | 2 +- oui/options.go | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cmd/commands.go b/cmd/commands.go index 2536ddc..02aa5ce 100644 --- a/cmd/commands.go +++ b/cmd/commands.go @@ -7,9 +7,9 @@ import ( "github.com/jedib0t/go-pretty/table" "github.com/jedib0t/go-pretty/text" "github.com/thatmattlove/go-macaddr" - "github.com/thatmattlove/oui/internal/logger" - "github.com/thatmattlove/oui/internal/util" - "github.com/thatmattlove/oui/oui" + "github.com/thatmattlove/oui/v2/internal/logger" + "github.com/thatmattlove/oui/v2/internal/util" + "github.com/thatmattlove/oui/v2/oui" "github.com/urfave/cli/v2" "golang.org/x/text/language" "golang.org/x/text/message" diff --git a/go.mod b/go.mod index 8d041aa..1764366 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/thatmattlove/oui +module github.com/thatmattlove/oui/v2 go 1.20 diff --git a/internal/logger/logger_test.go b/internal/logger/logger_test.go index 9bb3195..04fb1db 100644 --- a/internal/logger/logger_test.go +++ b/internal/logger/logger_test.go @@ -4,7 +4,7 @@ import ( "io" "testing" - "github.com/thatmattlove/oui/internal/logger" + "github.com/thatmattlove/oui/v2/internal/logger" ) func Test_Logger(t *testing.T) { diff --git a/internal/util/util_test.go b/internal/util/util_test.go index 11024bc..0f4291b 100644 --- a/internal/util/util_test.go +++ b/internal/util/util_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "github.com/thatmattlove/oui/internal/util" + "github.com/thatmattlove/oui/v2/internal/util" ) func Test_removeComments(t *testing.T) { diff --git a/main.go b/main.go index d18ed5a..30c96f0 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/thatmattlove/oui/cmd" + "github.com/thatmattlove/oui/v2/cmd" ) func getArgs() []string { diff --git a/oui/collect_csv_test.go b/oui/collect_csv_test.go index 475c2ad..0a6ea19 100644 --- a/oui/collect_csv_test.go +++ b/oui/collect_csv_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thatmattlove/oui/oui" + "github.com/thatmattlove/oui/v2/oui" ) func Test_CollectAll(t *testing.T) { diff --git a/oui/db_test.go b/oui/db_test.go index 1c2e662..6956564 100644 --- a/oui/db_test.go +++ b/oui/db_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thatmattlove/oui/oui" + "github.com/thatmattlove/oui/v2/oui" ) func Test_New(t *testing.T) { diff --git a/oui/options.go b/oui/options.go index 287a181..b8b0bdb 100644 --- a/oui/options.go +++ b/oui/options.go @@ -7,7 +7,7 @@ import ( "github.com/gookit/gcli/v3/progress" _ "github.com/lib/pq" - "github.com/thatmattlove/oui/internal/util" + "github.com/thatmattlove/oui/v2/internal/util" _ "modernc.org/sqlite" )