diff --git a/cmd/flags/credentials_test.go b/cmd/flags/credentials_test.go index 43f6d7a..e813bda 100644 --- a/cmd/flags/credentials_test.go +++ b/cmd/flags/credentials_test.go @@ -5,7 +5,7 @@ package flags import ( "testing" - "github.com/aerospike/asvec/utils" + "github.com/aerospike/asvec/module-rename/utils" ) func TestCredentialsFlag_Set(t *testing.T) { diff --git a/cmd/flags/optionals.go b/cmd/flags/optionals.go index 5b1d73e..59dd8e7 100644 --- a/cmd/flags/optionals.go +++ b/cmd/flags/optionals.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/aerospike/asvec/utils" + "github.com/aerospike/asvec/module-rename/utils" ) const optionalEmptyString = "" diff --git a/cmd/flags/vector.go b/cmd/flags/vector.go index 97c9471..bee2b42 100644 --- a/cmd/flags/vector.go +++ b/cmd/flags/vector.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/aerospike/asvec/cmd/writers" + "github.com/aerospike/asvec/module-rename/cmd/writers" ) // A cobra PFlag to parse and store a vector of floats or booleans. diff --git a/cmd/indexCreate.go b/cmd/indexCreate.go index 54eda7b..504d2d7 100644 --- a/cmd/indexCreate.go +++ b/cmd/indexCreate.go @@ -9,7 +9,7 @@ import ( "os" "strings" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" avs "github.com/aerospike/avs-client-go" "github.com/aerospike/avs-client-go/protos" diff --git a/cmd/indexDrop.go b/cmd/indexDrop.go index 8e06257..f1c587c 100644 --- a/cmd/indexDrop.go +++ b/cmd/indexDrop.go @@ -5,7 +5,7 @@ import ( "fmt" "log/slog" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/indexGC.go b/cmd/indexGC.go index 7bffdcf..e8e85a3 100644 --- a/cmd/indexGC.go +++ b/cmd/indexGC.go @@ -5,7 +5,7 @@ import ( "fmt" "log/slog" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/indexList.go b/cmd/indexList.go index 7f5faa8..73f29fa 100644 --- a/cmd/indexList.go +++ b/cmd/indexList.go @@ -7,7 +7,7 @@ import ( "log/slog" "sync" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/aerospike/avs-client-go/protos" "github.com/spf13/cobra" diff --git a/cmd/indexUpdate.go b/cmd/indexUpdate.go index 960e461..50a1bc7 100644 --- a/cmd/indexUpdate.go +++ b/cmd/indexUpdate.go @@ -5,7 +5,7 @@ import ( "fmt" "log/slog" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/aerospike/avs-client-go/protos" "github.com/spf13/cobra" diff --git a/cmd/nodeList.go b/cmd/nodeList.go index 3189491..12ebb2a 100644 --- a/cmd/nodeList.go +++ b/cmd/nodeList.go @@ -10,9 +10,9 @@ import ( "strings" "sync" - "github.com/aerospike/asvec/cmd/writers" + "github.com/aerospike/asvec/module-rename/cmd/writers" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/aerospike/avs-client-go" "github.com/aerospike/avs-client-go/protos" diff --git a/cmd/query.go b/cmd/query.go index 92b029a..bd6ea74 100644 --- a/cmd/query.go +++ b/cmd/query.go @@ -6,7 +6,7 @@ import ( "log/slog" "reflect" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/aerospike/avs-client-go" "github.com/aerospike/avs-client-go/protos" diff --git a/cmd/rolesList.go b/cmd/rolesList.go index b57dedc..44cd6d4 100644 --- a/cmd/rolesList.go +++ b/cmd/rolesList.go @@ -5,7 +5,7 @@ import ( "fmt" "log/slog" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/root.go b/cmd/root.go index 5cfc717..c7ed2b8 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/aerospike/tools-common-go/config" common "github.com/aerospike/tools-common-go/flags" diff --git a/cmd/userCreate.go b/cmd/userCreate.go index deacbb7..5b94c0f 100644 --- a/cmd/userCreate.go +++ b/cmd/userCreate.go @@ -5,7 +5,7 @@ import ( "fmt" "log/slog" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/userDrop.go b/cmd/userDrop.go index ae6297c..b4996ee 100644 --- a/cmd/userDrop.go +++ b/cmd/userDrop.go @@ -5,7 +5,7 @@ import ( "fmt" "log/slog" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/userGrant.go b/cmd/userGrant.go index a5f3d37..3f9d20e 100644 --- a/cmd/userGrant.go +++ b/cmd/userGrant.go @@ -7,7 +7,7 @@ import ( "log/slog" "strings" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/userList.go b/cmd/userList.go index 2ad619b..55beb48 100644 --- a/cmd/userList.go +++ b/cmd/userList.go @@ -5,7 +5,7 @@ import ( "fmt" "log/slog" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/userNewPassword.go b/cmd/userNewPassword.go index 43aea8f..5706f51 100644 --- a/cmd/userNewPassword.go +++ b/cmd/userNewPassword.go @@ -5,7 +5,7 @@ import ( "fmt" "log/slog" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/userRevoke.go b/cmd/userRevoke.go index 1c844eb..c91ec60 100644 --- a/cmd/userRevoke.go +++ b/cmd/userRevoke.go @@ -7,7 +7,7 @@ import ( "log/slog" "strings" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/utils.go b/cmd/utils.go index d622110..d0cfd4a 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" "golang.org/x/term" diff --git a/cmd/utils_test.go b/cmd/utils_test.go index 1c7717a..fd551f9 100644 --- a/cmd/utils_test.go +++ b/cmd/utils_test.go @@ -5,7 +5,7 @@ package cmd import ( "testing" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" avs "github.com/aerospike/avs-client-go" "github.com/stretchr/testify/assert" diff --git a/cmd/view.go b/cmd/view.go index 9924544..4efc902 100644 --- a/cmd/view.go +++ b/cmd/view.go @@ -6,7 +6,7 @@ import ( "log/slog" "sync/atomic" - "github.com/aerospike/asvec/cmd/writers" + "github.com/aerospike/asvec/module-rename/cmd/writers" tableColor "github.com/jedib0t/go-pretty/v6/text" diff --git a/e2e_multi_node_LB_test.go b/e2e_multi_node_LB_test.go index 3417bf4..6922209 100644 --- a/e2e_multi_node_LB_test.go +++ b/e2e_multi_node_LB_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/aerospike/asvec/tests" + "github.com/aerospike/asvec/module-rename/tests" avs "github.com/aerospike/avs-client-go" "github.com/stretchr/testify/suite" diff --git a/e2e_multi_node_test.go b/e2e_multi_node_test.go index 18c2d0a..a2014b1 100644 --- a/e2e_multi_node_test.go +++ b/e2e_multi_node_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/aerospike/asvec/tests" + "github.com/aerospike/asvec/module-rename/tests" avs "github.com/aerospike/avs-client-go" "github.com/stretchr/testify/suite" diff --git a/e2e_test.go b/e2e_test.go index eb01d87..c88fc9f 100644 --- a/e2e_test.go +++ b/e2e_test.go @@ -17,9 +17,9 @@ import ( "testing" "time" - "github.com/aerospike/asvec/tests" + "github.com/aerospike/asvec/module-rename/tests" - "github.com/aerospike/asvec/cmd/flags" + "github.com/aerospike/asvec/module-rename/cmd/flags" avs "github.com/aerospike/avs-client-go" "github.com/aerospike/avs-client-go/protos" diff --git a/go.mod b/go.mod index d8b2dce..6662707 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/aerospike/asvec +module github.com/aerospike/asvec/module-rename go 1.22.0 diff --git a/main.go b/main.go index b7d624a..5dcc3e0 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "github.com/aerospike/asvec/cmd" +import "github.com/aerospike/asvec/module-rename/cmd" func main() { cmd.Execute() diff --git a/tests/utils.go b/tests/utils.go index 16fd60d..3c7eeb3 100644 --- a/tests/utils.go +++ b/tests/utils.go @@ -13,7 +13,7 @@ import ( "os/exec" "time" - "github.com/aerospike/asvec/utils" + "github.com/aerospike/asvec/module-rename/utils" avs "github.com/aerospike/avs-client-go" "github.com/aerospike/avs-client-go/protos"