From d467a08a5107c2456652abad4bbf09aef11ad219 Mon Sep 17 00:00:00 2001 From: yanosea Date: Fri, 24 Jan 2025 01:01:45 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7chore:=20update=20module=20path?= =?UTF-8?q?=20for=20v2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - update module path from `github.com/yanosea/jrp` to `github.com/yanosea/jrp/v2` - this change follows Go modules versioning convention for v2+ modules --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 2357f9c..622c8a8 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/yanosea/jrp +module github.com/yanosea/jrp/v2 go 1.23 From 242a344958491268dcbafd4640f113a8d970dea8 Mon Sep 17 00:00:00 2001 From: yanosea Date: Fri, 24 Jan 2025 01:11:58 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A8refactor:=20Update=20package=20?= =?UTF-8?q?import=20paths=20to=20use=20v2=20module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - change all import paths from `github.com/yanosea/jrp` to `github.com/yanosea/jrp/v2` to align with new major version - modify package paths in: - application layer - infrastructure layer - presentation layer - utility package - this change supports proper versioning according to semantic versioning principles for Go modules --- app/application/jrp/download_usecase.go | 4 ++-- app/application/jrp/download_usecase_test.go | 4 ++-- app/application/jrp/favorite_usecase.go | 2 +- app/application/jrp/favorite_usecase_test.go | 2 +- app/application/jrp/generate_jrp_usecase.go | 4 ++-- .../jrp/generate_jrp_usecase_test.go | 2 +- app/application/jrp/get_history_usecase.go | 2 +- .../jrp/get_history_usecase_test.go | 2 +- app/application/jrp/remove_history_usecase.go | 2 +- .../jrp/remove_history_usecase_test.go | 2 +- app/application/jrp/save_history_usecase.go | 2 +- .../jrp/save_history_usecase_test.go | 2 +- app/application/jrp/search_history_usecase.go | 2 +- .../jrp/search_history_usecase_test.go | 2 +- app/application/jrp/unfavorite_usecase.go | 2 +- app/application/jrp/unfavorite_usecase_test.go | 2 +- app/config/config.go | 6 +++--- app/config/config_test.go | 4 ++-- app/infrastructure/database/connection.go | 2 +- .../database/connection_manager.go | 2 +- .../database/connection_manager_test.go | 2 +- app/infrastructure/database/connection_mock.go | 2 +- app/infrastructure/database/connection_test.go | 2 +- .../jrp/repository/history_repository.go | 6 +++--- .../jrp/repository/history_repository_test.go | 6 +++--- .../wnjpn/query_service/word_query_service.go | 4 ++-- .../query_service/word_query_service_test.go | 8 ++++---- app/presentation/cli/jrp/command/command.go | 12 ++++++------ .../cli/jrp/command/command_mock.go | 4 ++-- .../cli/jrp/command/command_test.go | 8 ++++---- .../cli/jrp/command/jrp/completion/bash.go | 2 +- .../jrp/command/jrp/completion/bash_test.go | 2 +- .../jrp/command/jrp/completion/completion.go | 2 +- .../command/jrp/completion/completion_test.go | 2 +- .../cli/jrp/command/jrp/completion/fish.go | 2 +- .../jrp/command/jrp/completion/fish_test.go | 2 +- .../jrp/command/jrp/completion/powershell.go | 2 +- .../command/jrp/completion/powershell_test.go | 2 +- .../cli/jrp/command/jrp/completion/zsh.go | 2 +- .../cli/jrp/command/jrp/completion/zsh_test.go | 2 +- .../cli/jrp/command/jrp/download.go | 12 ++++++------ .../cli/jrp/command/jrp/download_test.go | 12 ++++++------ .../cli/jrp/command/jrp/favorite.go | 10 +++++----- .../cli/jrp/command/jrp/favorite_test.go | 12 ++++++------ .../cli/jrp/command/jrp/generate/generate.go | 16 ++++++++-------- .../jrp/command/jrp/generate/generate_test.go | 12 ++++++------ .../jrp/command/jrp/generate/interactive.go | 18 +++++++++--------- .../command/jrp/generate/interactive_test.go | 12 ++++++------ .../cli/jrp/command/jrp/history/clear.go | 10 +++++----- .../cli/jrp/command/jrp/history/clear_test.go | 12 ++++++------ .../cli/jrp/command/jrp/history/history.go | 2 +- .../jrp/command/jrp/history/history_test.go | 10 +++++----- .../cli/jrp/command/jrp/history/remove.go | 10 +++++----- .../cli/jrp/command/jrp/history/remove_test.go | 12 ++++++------ .../cli/jrp/command/jrp/history/search.go | 8 ++++---- .../cli/jrp/command/jrp/history/search_test.go | 10 +++++----- .../cli/jrp/command/jrp/history/show.go | 8 ++++---- .../cli/jrp/command/jrp/history/show_test.go | 10 +++++----- .../cli/jrp/command/jrp/unfavorite.go | 10 +++++----- .../cli/jrp/command/jrp/unfavorite_test.go | 12 ++++++------ .../cli/jrp/command/jrp/version.go | 6 +++--- .../cli/jrp/command/jrp/version_test.go | 2 +- app/presentation/cli/jrp/command/root.go | 12 ++++++------ app/presentation/cli/jrp/command/root_test.go | 14 +++++++------- app/presentation/cli/jrp/config/config.go | 8 ++++---- app/presentation/cli/jrp/config/config_test.go | 8 ++++---- app/presentation/cli/jrp/formatter/plain.go | 2 +- .../cli/jrp/formatter/plain_test.go | 2 +- app/presentation/cli/jrp/formatter/table.go | 6 +++--- .../cli/jrp/formatter/table_test.go | 4 ++-- app/presentation/cli/jrp/main.go | 6 +++--- app/presentation/cli/jrp/main_test.go | 6 +++--- app/presentation/cli/jrp/presenter/keyboard.go | 4 ++-- .../cli/jrp/presenter/keyboard_test.go | 4 ++-- .../cli/jrp/presenter/presenter_test.go | 4 ++-- app/presentation/cli/jrp/presenter/prompt.go | 4 ++-- .../cli/jrp/presenter/prompt_test.go | 4 ++-- app/presentation/cli/jrp/presenter/spinner.go | 4 ++-- .../cli/jrp/presenter/spinner_test.go | 4 ++-- pkg/utility/capture.go | 2 +- pkg/utility/capture_test.go | 2 +- pkg/utility/download_util.go | 2 +- pkg/utility/download_util_mock.go | 2 +- pkg/utility/download_util_test.go | 2 +- pkg/utility/file_util.go | 2 +- pkg/utility/file_util_test.go | 2 +- pkg/utility/keyboard_util.go | 2 +- pkg/utility/keyboard_util_test.go | 2 +- pkg/utility/prompt_util.go | 2 +- pkg/utility/prompt_util_mock.go | 2 +- pkg/utility/prompt_util_test.go | 2 +- pkg/utility/rand_util.go | 2 +- pkg/utility/rand_util_test.go | 2 +- pkg/utility/spinner_util.go | 2 +- pkg/utility/spinner_util_mock.go | 2 +- pkg/utility/spinner_util_test.go | 2 +- pkg/utility/tablewriter_util.go | 2 +- pkg/utility/tablewriter_util_mock.go | 2 +- pkg/utility/tablewriter_util_test.go | 2 +- pkg/utility/version_util.go | 2 +- pkg/utility/version_util_test.go | 2 +- 101 files changed, 246 insertions(+), 246 deletions(-) diff --git a/app/application/jrp/download_usecase.go b/app/application/jrp/download_usecase.go index 5d8742b..157a8ec 100644 --- a/app/application/jrp/download_usecase.go +++ b/app/application/jrp/download_usecase.go @@ -3,8 +3,8 @@ package jrp import ( "errors" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) // downloadUseCase is a struct that contains the use case of the download. diff --git a/app/application/jrp/download_usecase_test.go b/app/application/jrp/download_usecase_test.go index c9f7e81..f25ea85 100644 --- a/app/application/jrp/download_usecase_test.go +++ b/app/application/jrp/download_usecase_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/application/jrp/favorite_usecase.go b/app/application/jrp/favorite_usecase.go index e176ebe..c0f9166 100644 --- a/app/application/jrp/favorite_usecase.go +++ b/app/application/jrp/favorite_usecase.go @@ -4,7 +4,7 @@ import ( "context" "errors" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" ) // favoriteUseCase is a struct that contains the use case of the favoriting jrp from the table history in jrp sqlite database. diff --git a/app/application/jrp/favorite_usecase_test.go b/app/application/jrp/favorite_usecase_test.go index 8ce5440..996ad0d 100644 --- a/app/application/jrp/favorite_usecase_test.go +++ b/app/application/jrp/favorite_usecase_test.go @@ -6,7 +6,7 @@ import ( "reflect" "testing" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" "go.uber.org/mock/gomock" ) diff --git a/app/application/jrp/generate_jrp_usecase.go b/app/application/jrp/generate_jrp_usecase.go index 74b5e43..3f395c5 100644 --- a/app/application/jrp/generate_jrp_usecase.go +++ b/app/application/jrp/generate_jrp_usecase.go @@ -3,8 +3,8 @@ package jrp import ( "time" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) // generateJrpUseCase is a struct that contains the use case of the generation jrp. diff --git a/app/application/jrp/generate_jrp_usecase_test.go b/app/application/jrp/generate_jrp_usecase_test.go index 4bc11f2..ee588fc 100644 --- a/app/application/jrp/generate_jrp_usecase_test.go +++ b/app/application/jrp/generate_jrp_usecase_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/application/jrp/get_history_usecase.go b/app/application/jrp/get_history_usecase.go index fe33bd1..815c76a 100644 --- a/app/application/jrp/get_history_usecase.go +++ b/app/application/jrp/get_history_usecase.go @@ -4,7 +4,7 @@ import ( "context" "time" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" ) // getHistoryUseCase is a struct that contains the use case of the getting jrp from the table history in jrp sqlite database. diff --git a/app/application/jrp/get_history_usecase_test.go b/app/application/jrp/get_history_usecase_test.go index f95f438..de3922e 100644 --- a/app/application/jrp/get_history_usecase_test.go +++ b/app/application/jrp/get_history_usecase_test.go @@ -7,7 +7,7 @@ import ( "reflect" "testing" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" "go.uber.org/mock/gomock" ) diff --git a/app/application/jrp/remove_history_usecase.go b/app/application/jrp/remove_history_usecase.go index df55176..731c4a9 100644 --- a/app/application/jrp/remove_history_usecase.go +++ b/app/application/jrp/remove_history_usecase.go @@ -4,7 +4,7 @@ import ( "context" "errors" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" ) // removeHistoryUseCase is a struct that contains the use case of the removing jrp from the table history in jrp sqlite database. diff --git a/app/application/jrp/remove_history_usecase_test.go b/app/application/jrp/remove_history_usecase_test.go index 51f8321..d9c9081 100644 --- a/app/application/jrp/remove_history_usecase_test.go +++ b/app/application/jrp/remove_history_usecase_test.go @@ -6,7 +6,7 @@ import ( "reflect" "testing" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" "go.uber.org/mock/gomock" ) diff --git a/app/application/jrp/save_history_usecase.go b/app/application/jrp/save_history_usecase.go index 44a7fe2..b8a9e45 100644 --- a/app/application/jrp/save_history_usecase.go +++ b/app/application/jrp/save_history_usecase.go @@ -4,7 +4,7 @@ import ( "context" "time" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" ) // saveHistoryUseCase is a struct that contains the use case of the saving jrp to the table history in jrp sqlite database. diff --git a/app/application/jrp/save_history_usecase_test.go b/app/application/jrp/save_history_usecase_test.go index 8114067..02280f7 100644 --- a/app/application/jrp/save_history_usecase_test.go +++ b/app/application/jrp/save_history_usecase_test.go @@ -7,7 +7,7 @@ import ( "reflect" "testing" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" "go.uber.org/mock/gomock" ) diff --git a/app/application/jrp/search_history_usecase.go b/app/application/jrp/search_history_usecase.go index e0626ff..bbfda4b 100644 --- a/app/application/jrp/search_history_usecase.go +++ b/app/application/jrp/search_history_usecase.go @@ -4,7 +4,7 @@ import ( "context" "time" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" ) // searchHistoryUseCase is a struct that contains the use case of the searching jrp from the table history in jrp sqlite database. diff --git a/app/application/jrp/search_history_usecase_test.go b/app/application/jrp/search_history_usecase_test.go index 7d78769..d1a564c 100644 --- a/app/application/jrp/search_history_usecase_test.go +++ b/app/application/jrp/search_history_usecase_test.go @@ -7,7 +7,7 @@ import ( "reflect" "testing" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" "go.uber.org/mock/gomock" ) diff --git a/app/application/jrp/unfavorite_usecase.go b/app/application/jrp/unfavorite_usecase.go index 622f320..10da4e8 100644 --- a/app/application/jrp/unfavorite_usecase.go +++ b/app/application/jrp/unfavorite_usecase.go @@ -4,7 +4,7 @@ import ( "context" "errors" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" ) // unfavoriteUseCase is a struct that contains the use case of the unfavoriting jrp from the table history in jrp sqlite database. diff --git a/app/application/jrp/unfavorite_usecase_test.go b/app/application/jrp/unfavorite_usecase_test.go index 2e7f871..d994169 100644 --- a/app/application/jrp/unfavorite_usecase_test.go +++ b/app/application/jrp/unfavorite_usecase_test.go @@ -6,7 +6,7 @@ import ( "reflect" "testing" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" "go.uber.org/mock/gomock" ) diff --git a/app/config/config.go b/app/config/config.go index 417273c..e645d54 100644 --- a/app/config/config.go +++ b/app/config/config.go @@ -1,10 +1,10 @@ package config import ( - "github.com/yanosea/jrp/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/database" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) // Configurator is an interface that gets the configuration. diff --git a/app/config/config_test.go b/app/config/config_test.go index c991b85..193dbb3 100644 --- a/app/config/config_test.go +++ b/app/config/config_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) func TestNewConfigurator(t *testing.T) { diff --git a/app/infrastructure/database/connection.go b/app/infrastructure/database/connection.go index 1514b78..91867b5 100644 --- a/app/infrastructure/database/connection.go +++ b/app/infrastructure/database/connection.go @@ -3,7 +3,7 @@ package database import ( "sync" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // DBConnection is an interface that contains the database connection. diff --git a/app/infrastructure/database/connection_manager.go b/app/infrastructure/database/connection_manager.go index 08e5f3c..e765421 100644 --- a/app/infrastructure/database/connection_manager.go +++ b/app/infrastructure/database/connection_manager.go @@ -4,7 +4,7 @@ import ( "errors" "sync" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) var ( diff --git a/app/infrastructure/database/connection_manager_test.go b/app/infrastructure/database/connection_manager_test.go index 6617457..01ee03a 100644 --- a/app/infrastructure/database/connection_manager_test.go +++ b/app/infrastructure/database/connection_manager_test.go @@ -6,7 +6,7 @@ import ( "sync" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/app/infrastructure/database/connection_mock.go b/app/infrastructure/database/connection_mock.go index bd29e55..cd78d06 100644 --- a/app/infrastructure/database/connection_mock.go +++ b/app/infrastructure/database/connection_mock.go @@ -12,7 +12,7 @@ package database import ( reflect "reflect" - proxy "github.com/yanosea/jrp/pkg/proxy" + proxy "github.com/yanosea/jrp/v2/pkg/proxy" gomock "go.uber.org/mock/gomock" ) diff --git a/app/infrastructure/database/connection_test.go b/app/infrastructure/database/connection_test.go index 9c26f6a..9d197ba 100644 --- a/app/infrastructure/database/connection_test.go +++ b/app/infrastructure/database/connection_test.go @@ -6,7 +6,7 @@ import ( "sync" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/app/infrastructure/jrp/repository/history_repository.go b/app/infrastructure/jrp/repository/history_repository.go index 7839dc6..6d1560d 100644 --- a/app/infrastructure/jrp/repository/history_repository.go +++ b/app/infrastructure/jrp/repository/history_repository.go @@ -6,10 +6,10 @@ import ( "fmt" "strings" - "github.com/yanosea/jrp/app/domain/jrp/history" - "github.com/yanosea/jrp/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/domain/jrp/history" + "github.com/yanosea/jrp/v2/app/infrastructure/database" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // HistoryRepository is a struct that implements the HistoryRepository interface. diff --git a/app/infrastructure/jrp/repository/history_repository_test.go b/app/infrastructure/jrp/repository/history_repository_test.go index 7d737c0..deb3b24 100644 --- a/app/infrastructure/jrp/repository/history_repository_test.go +++ b/app/infrastructure/jrp/repository/history_repository_test.go @@ -10,10 +10,10 @@ import ( "testing" "time" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" - "github.com/yanosea/jrp/app/infrastructure/database" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" + "github.com/yanosea/jrp/v2/app/infrastructure/database" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/app/infrastructure/wnjpn/query_service/word_query_service.go b/app/infrastructure/wnjpn/query_service/word_query_service.go index 80ed225..3ba9f23 100644 --- a/app/infrastructure/wnjpn/query_service/word_query_service.go +++ b/app/infrastructure/wnjpn/query_service/word_query_service.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "github.com/yanosea/jrp/app/application/wnjpn" - "github.com/yanosea/jrp/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/application/wnjpn" + "github.com/yanosea/jrp/v2/app/infrastructure/database" ) // WordQueryService is a struct that implements the WordQueryService interface. diff --git a/app/infrastructure/wnjpn/query_service/word_query_service_test.go b/app/infrastructure/wnjpn/query_service/word_query_service_test.go index 6ab2edc..f48a20f 100644 --- a/app/infrastructure/wnjpn/query_service/word_query_service_test.go +++ b/app/infrastructure/wnjpn/query_service/word_query_service_test.go @@ -8,11 +8,11 @@ import ( "reflect" "testing" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - wnjpnApp "github.com/yanosea/jrp/app/application/wnjpn" - "github.com/yanosea/jrp/app/infrastructure/database" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + wnjpnApp "github.com/yanosea/jrp/v2/app/application/wnjpn" + "github.com/yanosea/jrp/v2/app/infrastructure/database" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/command.go b/app/presentation/cli/jrp/command/command.go index e90d0d7..45ff5fa 100644 --- a/app/presentation/cli/jrp/command/command.go +++ b/app/presentation/cli/jrp/command/command.go @@ -4,13 +4,13 @@ import ( "context" "os" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/presentation/cli/jrp/config" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/config" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) var ( diff --git a/app/presentation/cli/jrp/command/command_mock.go b/app/presentation/cli/jrp/command/command_mock.go index 0102ffa..891ea1f 100644 --- a/app/presentation/cli/jrp/command/command_mock.go +++ b/app/presentation/cli/jrp/command/command_mock.go @@ -13,8 +13,8 @@ import ( context "context" reflect "reflect" - proxy "github.com/yanosea/jrp/pkg/proxy" - utility "github.com/yanosea/jrp/pkg/utility" + proxy "github.com/yanosea/jrp/v2/pkg/proxy" + utility "github.com/yanosea/jrp/v2/pkg/utility" gomock "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/command_test.go b/app/presentation/cli/jrp/command/command_test.go index 3fa4cc9..e4a9bd2 100644 --- a/app/presentation/cli/jrp/command/command_test.go +++ b/app/presentation/cli/jrp/command/command_test.go @@ -10,10 +10,10 @@ import ( "github.com/fatih/color" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/jrp/completion/bash.go b/app/presentation/cli/jrp/command/jrp/completion/bash.go index 010324e..670b043 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/bash.go +++ b/app/presentation/cli/jrp/command/jrp/completion/bash.go @@ -5,7 +5,7 @@ import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // NewCompletionBashCommand returns a new instance of the completion bash command. diff --git a/app/presentation/cli/jrp/command/jrp/completion/bash_test.go b/app/presentation/cli/jrp/command/jrp/completion/bash_test.go index 9fbd60f..1349d8f 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/bash_test.go +++ b/app/presentation/cli/jrp/command/jrp/completion/bash_test.go @@ -6,7 +6,7 @@ import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) func TestNewCompletionBashCommand(t *testing.T) { diff --git a/app/presentation/cli/jrp/command/jrp/completion/completion.go b/app/presentation/cli/jrp/command/jrp/completion/completion.go index 0d06120..67952e8 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/completion.go +++ b/app/presentation/cli/jrp/command/jrp/completion/completion.go @@ -1,7 +1,7 @@ package completion import ( - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // NewCompletionCommand returns a new instance of the completion command. diff --git a/app/presentation/cli/jrp/command/jrp/completion/completion_test.go b/app/presentation/cli/jrp/command/jrp/completion/completion_test.go index fcd17c5..07b4b8c 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/completion_test.go +++ b/app/presentation/cli/jrp/command/jrp/completion/completion_test.go @@ -3,7 +3,7 @@ package completion import ( "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) func TestNewCompletionCommand(t *testing.T) { diff --git a/app/presentation/cli/jrp/command/jrp/completion/fish.go b/app/presentation/cli/jrp/command/jrp/completion/fish.go index 3726561..6628e38 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/fish.go +++ b/app/presentation/cli/jrp/command/jrp/completion/fish.go @@ -5,7 +5,7 @@ import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // NewCompletionFishCommand returns a new instance of the completion fish command. diff --git a/app/presentation/cli/jrp/command/jrp/completion/fish_test.go b/app/presentation/cli/jrp/command/jrp/completion/fish_test.go index 3293b7f..011b061 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/fish_test.go +++ b/app/presentation/cli/jrp/command/jrp/completion/fish_test.go @@ -6,7 +6,7 @@ import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) func TestNewCompletionFishCommand(t *testing.T) { diff --git a/app/presentation/cli/jrp/command/jrp/completion/powershell.go b/app/presentation/cli/jrp/command/jrp/completion/powershell.go index 5fd9869..4b293f6 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/powershell.go +++ b/app/presentation/cli/jrp/command/jrp/completion/powershell.go @@ -5,7 +5,7 @@ import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // NewCompletionPowerShellCommand returns a new instance of the completion powershell command. diff --git a/app/presentation/cli/jrp/command/jrp/completion/powershell_test.go b/app/presentation/cli/jrp/command/jrp/completion/powershell_test.go index 8825595..d7a7782 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/powershell_test.go +++ b/app/presentation/cli/jrp/command/jrp/completion/powershell_test.go @@ -6,7 +6,7 @@ import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) func TestNewCompletionPowerShellCommand(t *testing.T) { diff --git a/app/presentation/cli/jrp/command/jrp/completion/zsh.go b/app/presentation/cli/jrp/command/jrp/completion/zsh.go index bdb3458..ade4f02 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/zsh.go +++ b/app/presentation/cli/jrp/command/jrp/completion/zsh.go @@ -5,7 +5,7 @@ import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // NewCompletionZshCommand returns a new instance of the completion zsh command. diff --git a/app/presentation/cli/jrp/command/jrp/completion/zsh_test.go b/app/presentation/cli/jrp/command/jrp/completion/zsh_test.go index d1cb317..daf465e 100644 --- a/app/presentation/cli/jrp/command/jrp/completion/zsh_test.go +++ b/app/presentation/cli/jrp/command/jrp/completion/zsh_test.go @@ -6,7 +6,7 @@ import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) func TestNewCompletionZshCommand(t *testing.T) { diff --git a/app/presentation/cli/jrp/command/jrp/download.go b/app/presentation/cli/jrp/command/jrp/download.go index 9743aba..2556f0b 100644 --- a/app/presentation/cli/jrp/command/jrp/download.go +++ b/app/presentation/cli/jrp/command/jrp/download.go @@ -3,13 +3,13 @@ package jrp import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/presentation/cli/jrp/config" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/config" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // NewDownloadCommand returns a new instance of the download command. diff --git a/app/presentation/cli/jrp/command/jrp/download_test.go b/app/presentation/cli/jrp/command/jrp/download_test.go index 670888e..1109dfb 100644 --- a/app/presentation/cli/jrp/command/jrp/download_test.go +++ b/app/presentation/cli/jrp/command/jrp/download_test.go @@ -8,13 +8,13 @@ import ( "github.com/fatih/color" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - baseConfig "github.com/yanosea/jrp/app/config" - "github.com/yanosea/jrp/app/presentation/cli/jrp/config" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + baseConfig "github.com/yanosea/jrp/v2/app/config" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/config" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/jrp/favorite.go b/app/presentation/cli/jrp/command/jrp/favorite.go index 215d775..36ecbfa 100644 --- a/app/presentation/cli/jrp/command/jrp/favorite.go +++ b/app/presentation/cli/jrp/command/jrp/favorite.go @@ -5,12 +5,12 @@ import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // FavoriteOptions provides the options for the favorite command. diff --git a/app/presentation/cli/jrp/command/jrp/favorite_test.go b/app/presentation/cli/jrp/command/jrp/favorite_test.go index 847e5f8..c45f1a7 100644 --- a/app/presentation/cli/jrp/command/jrp/favorite_test.go +++ b/app/presentation/cli/jrp/command/jrp/favorite_test.go @@ -12,13 +12,13 @@ import ( "github.com/fatih/color" c "github.com/spf13/cobra" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/jrp/generate/generate.go b/app/presentation/cli/jrp/command/jrp/generate/generate.go index 6605bd6..0aea49e 100644 --- a/app/presentation/cli/jrp/command/jrp/generate/generate.go +++ b/app/presentation/cli/jrp/command/jrp/generate/generate.go @@ -5,14 +5,14 @@ import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - wnjpnApp "github.com/yanosea/jrp/app/application/wnjpn" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/infrastructure/wnjpn/query_service" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" - - "github.com/yanosea/jrp/pkg/proxy" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + wnjpnApp "github.com/yanosea/jrp/v2/app/application/wnjpn" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/infrastructure/wnjpn/query_service" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" + + "github.com/yanosea/jrp/v2/pkg/proxy" ) // GenerateOptions provides the options for the generate command. diff --git a/app/presentation/cli/jrp/command/jrp/generate/generate_test.go b/app/presentation/cli/jrp/command/jrp/generate/generate_test.go index fe6e711..9557952 100644 --- a/app/presentation/cli/jrp/command/jrp/generate/generate_test.go +++ b/app/presentation/cli/jrp/command/jrp/generate/generate_test.go @@ -9,13 +9,13 @@ import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - wnjpnApp "github.com/yanosea/jrp/app/application/wnjpn" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + wnjpnApp "github.com/yanosea/jrp/v2/app/application/wnjpn" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/jrp/generate/interactive.go b/app/presentation/cli/jrp/command/jrp/generate/interactive.go index 734c891..3db51d7 100644 --- a/app/presentation/cli/jrp/command/jrp/generate/interactive.go +++ b/app/presentation/cli/jrp/command/jrp/generate/interactive.go @@ -6,15 +6,15 @@ import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - wnjpnApp "github.com/yanosea/jrp/app/application/wnjpn" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/infrastructure/wnjpn/query_service" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" - - "github.com/yanosea/jrp/pkg/proxy" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + wnjpnApp "github.com/yanosea/jrp/v2/app/application/wnjpn" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/infrastructure/wnjpn/query_service" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" + + "github.com/yanosea/jrp/v2/pkg/proxy" ) // InteractiveOptions provides the options for the interactive command. diff --git a/app/presentation/cli/jrp/command/jrp/generate/interactive_test.go b/app/presentation/cli/jrp/command/jrp/generate/interactive_test.go index ae0713f..5219d22 100644 --- a/app/presentation/cli/jrp/command/jrp/generate/interactive_test.go +++ b/app/presentation/cli/jrp/command/jrp/generate/interactive_test.go @@ -9,13 +9,13 @@ import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - wnjpnApp "github.com/yanosea/jrp/app/application/wnjpn" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + wnjpnApp "github.com/yanosea/jrp/v2/app/application/wnjpn" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/jrp/history/clear.go b/app/presentation/cli/jrp/command/jrp/history/clear.go index 80920fb..15813b4 100644 --- a/app/presentation/cli/jrp/command/jrp/history/clear.go +++ b/app/presentation/cli/jrp/command/jrp/history/clear.go @@ -3,12 +3,12 @@ package history import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // ClearOptions provides the options for the clear command. diff --git a/app/presentation/cli/jrp/command/jrp/history/clear_test.go b/app/presentation/cli/jrp/command/jrp/history/clear_test.go index 0497108..5c31b5a 100644 --- a/app/presentation/cli/jrp/command/jrp/history/clear_test.go +++ b/app/presentation/cli/jrp/command/jrp/history/clear_test.go @@ -11,13 +11,13 @@ import ( "github.com/fatih/color" c "github.com/spf13/cobra" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/jrp/history/history.go b/app/presentation/cli/jrp/command/jrp/history/history.go index 161bba6..4a9adf4 100644 --- a/app/presentation/cli/jrp/command/jrp/history/history.go +++ b/app/presentation/cli/jrp/command/jrp/history/history.go @@ -3,7 +3,7 @@ package history import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // HistoryOptions provides the options for the generate command. diff --git a/app/presentation/cli/jrp/command/jrp/history/history_test.go b/app/presentation/cli/jrp/command/jrp/history/history_test.go index b6ba274..a729fec 100644 --- a/app/presentation/cli/jrp/command/jrp/history/history_test.go +++ b/app/presentation/cli/jrp/command/jrp/history/history_test.go @@ -10,12 +10,12 @@ import ( c "github.com/spf13/cobra" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) var ( diff --git a/app/presentation/cli/jrp/command/jrp/history/remove.go b/app/presentation/cli/jrp/command/jrp/history/remove.go index 31905d5..5ec4f16 100644 --- a/app/presentation/cli/jrp/command/jrp/history/remove.go +++ b/app/presentation/cli/jrp/command/jrp/history/remove.go @@ -5,12 +5,12 @@ import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // RemoveOptions provides the options for the remove command. diff --git a/app/presentation/cli/jrp/command/jrp/history/remove_test.go b/app/presentation/cli/jrp/command/jrp/history/remove_test.go index 55bc9dc..52fd7eb 100644 --- a/app/presentation/cli/jrp/command/jrp/history/remove_test.go +++ b/app/presentation/cli/jrp/command/jrp/history/remove_test.go @@ -11,13 +11,13 @@ import ( "github.com/fatih/color" c "github.com/spf13/cobra" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/jrp/history/search.go b/app/presentation/cli/jrp/command/jrp/history/search.go index 6b0d545..cb51933 100644 --- a/app/presentation/cli/jrp/command/jrp/history/search.go +++ b/app/presentation/cli/jrp/command/jrp/history/search.go @@ -3,11 +3,11 @@ package history import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // SearchOptions provides the options for the search command. diff --git a/app/presentation/cli/jrp/command/jrp/history/search_test.go b/app/presentation/cli/jrp/command/jrp/history/search_test.go index 87375ad..c04be4a 100644 --- a/app/presentation/cli/jrp/command/jrp/history/search_test.go +++ b/app/presentation/cli/jrp/command/jrp/history/search_test.go @@ -10,12 +10,12 @@ import ( "github.com/fatih/color" c "github.com/spf13/cobra" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) func TestNewSearchCommand(t *testing.T) { diff --git a/app/presentation/cli/jrp/command/jrp/history/show.go b/app/presentation/cli/jrp/command/jrp/history/show.go index 7615e5f..a6d47f8 100644 --- a/app/presentation/cli/jrp/command/jrp/history/show.go +++ b/app/presentation/cli/jrp/command/jrp/history/show.go @@ -5,11 +5,11 @@ import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // ShowOptions provides the options for the show command. diff --git a/app/presentation/cli/jrp/command/jrp/history/show_test.go b/app/presentation/cli/jrp/command/jrp/history/show_test.go index d66b2e9..c8d5e2e 100644 --- a/app/presentation/cli/jrp/command/jrp/history/show_test.go +++ b/app/presentation/cli/jrp/command/jrp/history/show_test.go @@ -10,12 +10,12 @@ import ( "github.com/fatih/color" c "github.com/spf13/cobra" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) func TestNewShowCommand(t *testing.T) { diff --git a/app/presentation/cli/jrp/command/jrp/unfavorite.go b/app/presentation/cli/jrp/command/jrp/unfavorite.go index 42fa35f..0c821a9 100644 --- a/app/presentation/cli/jrp/command/jrp/unfavorite.go +++ b/app/presentation/cli/jrp/command/jrp/unfavorite.go @@ -5,12 +5,12 @@ import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // UnfavoriteOptions provides the options for the unfavorite command. diff --git a/app/presentation/cli/jrp/command/jrp/unfavorite_test.go b/app/presentation/cli/jrp/command/jrp/unfavorite_test.go index 3303b96..3a78071 100644 --- a/app/presentation/cli/jrp/command/jrp/unfavorite_test.go +++ b/app/presentation/cli/jrp/command/jrp/unfavorite_test.go @@ -11,13 +11,13 @@ import ( "github.com/fatih/color" c "github.com/spf13/cobra" - historyDomain "github.com/yanosea/jrp/app/domain/jrp/history" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/infrastructure/jrp/repository" - "github.com/yanosea/jrp/app/presentation/cli/jrp/presenter" + historyDomain "github.com/yanosea/jrp/v2/app/domain/jrp/history" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/infrastructure/jrp/repository" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/presenter" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/command/jrp/version.go b/app/presentation/cli/jrp/command/jrp/version.go index 104baab..da2e29e 100644 --- a/app/presentation/cli/jrp/command/jrp/version.go +++ b/app/presentation/cli/jrp/command/jrp/version.go @@ -3,10 +3,10 @@ package jrp import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - "github.com/yanosea/jrp/app/presentation/cli/jrp/formatter" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/formatter" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) var ( diff --git a/app/presentation/cli/jrp/command/jrp/version_test.go b/app/presentation/cli/jrp/command/jrp/version_test.go index da49583..b93962e 100644 --- a/app/presentation/cli/jrp/command/jrp/version_test.go +++ b/app/presentation/cli/jrp/command/jrp/version_test.go @@ -5,7 +5,7 @@ import ( "github.com/fatih/color" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) func TestNewVersionCommand(t *testing.T) { diff --git a/app/presentation/cli/jrp/command/root.go b/app/presentation/cli/jrp/command/root.go index 6c27f61..1e33e3e 100644 --- a/app/presentation/cli/jrp/command/root.go +++ b/app/presentation/cli/jrp/command/root.go @@ -3,13 +3,13 @@ package command import ( c "github.com/spf13/cobra" - "github.com/yanosea/jrp/app/presentation/cli/jrp/command/jrp" - "github.com/yanosea/jrp/app/presentation/cli/jrp/command/jrp/completion" - "github.com/yanosea/jrp/app/presentation/cli/jrp/command/jrp/generate" - "github.com/yanosea/jrp/app/presentation/cli/jrp/command/jrp/history" - "github.com/yanosea/jrp/app/presentation/cli/jrp/config" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/command/jrp" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/command/jrp/completion" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/command/jrp/generate" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/command/jrp/history" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/config" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // RootOptions provides the options for the root command. diff --git a/app/presentation/cli/jrp/command/root_test.go b/app/presentation/cli/jrp/command/root_test.go index b2a3cc6..dff8105 100644 --- a/app/presentation/cli/jrp/command/root_test.go +++ b/app/presentation/cli/jrp/command/root_test.go @@ -8,14 +8,14 @@ import ( c "github.com/spf13/cobra" - jrpApp "github.com/yanosea/jrp/app/application/jrp" - baseConfig "github.com/yanosea/jrp/app/config" - "github.com/yanosea/jrp/app/infrastructure/database" - "github.com/yanosea/jrp/app/presentation/cli/jrp/command/jrp" - "github.com/yanosea/jrp/app/presentation/cli/jrp/command/jrp/generate" - "github.com/yanosea/jrp/app/presentation/cli/jrp/config" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" + baseConfig "github.com/yanosea/jrp/v2/app/config" + "github.com/yanosea/jrp/v2/app/infrastructure/database" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/command/jrp" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/command/jrp/generate" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/config" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) func TestNewRootCommand(t *testing.T) { diff --git a/app/presentation/cli/jrp/config/config.go b/app/presentation/cli/jrp/config/config.go index e155e1d..98c7e35 100644 --- a/app/presentation/cli/jrp/config/config.go +++ b/app/presentation/cli/jrp/config/config.go @@ -4,11 +4,11 @@ import ( "path/filepath" "strings" - baseConfig "github.com/yanosea/jrp/app/config" - "github.com/yanosea/jrp/app/infrastructure/database" + baseConfig "github.com/yanosea/jrp/v2/app/config" + "github.com/yanosea/jrp/v2/app/infrastructure/database" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) // JrpCliConfigurator is an interface that gets the configuration of the Jrp cli application. diff --git a/app/presentation/cli/jrp/config/config_test.go b/app/presentation/cli/jrp/config/config_test.go index e83f9d8..2e4154d 100644 --- a/app/presentation/cli/jrp/config/config_test.go +++ b/app/presentation/cli/jrp/config/config_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - baseConfig "github.com/yanosea/jrp/app/config" - "github.com/yanosea/jrp/app/infrastructure/database" + baseConfig "github.com/yanosea/jrp/v2/app/config" + "github.com/yanosea/jrp/v2/app/infrastructure/database" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/formatter/plain.go b/app/presentation/cli/jrp/formatter/plain.go index 6ac8acb..3826d6d 100644 --- a/app/presentation/cli/jrp/formatter/plain.go +++ b/app/presentation/cli/jrp/formatter/plain.go @@ -3,7 +3,7 @@ package formatter import ( "fmt" - jrpApp "github.com/yanosea/jrp/app/application/jrp" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" ) // PlainFormatter is a struct that formats the output of jrp cli. diff --git a/app/presentation/cli/jrp/formatter/plain_test.go b/app/presentation/cli/jrp/formatter/plain_test.go index d8bdc34..fb1788a 100644 --- a/app/presentation/cli/jrp/formatter/plain_test.go +++ b/app/presentation/cli/jrp/formatter/plain_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - jrpApp "github.com/yanosea/jrp/app/application/jrp" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" ) func TestNewPlainFormatter(t *testing.T) { diff --git a/app/presentation/cli/jrp/formatter/table.go b/app/presentation/cli/jrp/formatter/table.go index ec55f99..93371f3 100644 --- a/app/presentation/cli/jrp/formatter/table.go +++ b/app/presentation/cli/jrp/formatter/table.go @@ -7,10 +7,10 @@ import ( "strings" "time" - jrpApp "github.com/yanosea/jrp/app/application/jrp" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) // TableFormatter is a struct that formats the output of jrp cli. diff --git a/app/presentation/cli/jrp/formatter/table_test.go b/app/presentation/cli/jrp/formatter/table_test.go index adf9453..3cd8c4c 100644 --- a/app/presentation/cli/jrp/formatter/table_test.go +++ b/app/presentation/cli/jrp/formatter/table_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - jrpApp "github.com/yanosea/jrp/app/application/jrp" + jrpApp "github.com/yanosea/jrp/v2/app/application/jrp" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/utility" ) func TestNewTableFormatter(t *testing.T) { diff --git a/app/presentation/cli/jrp/main.go b/app/presentation/cli/jrp/main.go index 4d8e3b9..124e719 100644 --- a/app/presentation/cli/jrp/main.go +++ b/app/presentation/cli/jrp/main.go @@ -4,10 +4,10 @@ import ( "context" "os" - "github.com/yanosea/jrp/app/presentation/cli/jrp/command" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/command" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) // JrpCliParams is a struct that represents the options of jrp cli. diff --git a/app/presentation/cli/jrp/main_test.go b/app/presentation/cli/jrp/main_test.go index f170720..9896503 100644 --- a/app/presentation/cli/jrp/main_test.go +++ b/app/presentation/cli/jrp/main_test.go @@ -7,10 +7,10 @@ import ( "github.com/fatih/color" - "github.com/yanosea/jrp/app/presentation/cli/jrp/command" + "github.com/yanosea/jrp/v2/app/presentation/cli/jrp/command" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/presenter/keyboard.go b/app/presentation/cli/jrp/presenter/keyboard.go index af84335..45d504c 100644 --- a/app/presentation/cli/jrp/presenter/keyboard.go +++ b/app/presentation/cli/jrp/presenter/keyboard.go @@ -1,8 +1,8 @@ package presenter import ( - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) var ( diff --git a/app/presentation/cli/jrp/presenter/keyboard_test.go b/app/presentation/cli/jrp/presenter/keyboard_test.go index 408779a..41bd84a 100644 --- a/app/presentation/cli/jrp/presenter/keyboard_test.go +++ b/app/presentation/cli/jrp/presenter/keyboard_test.go @@ -5,8 +5,8 @@ import ( "github.com/eiannone/keyboard" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/presenter/presenter_test.go b/app/presentation/cli/jrp/presenter/presenter_test.go index b05dcf7..c05c02a 100644 --- a/app/presentation/cli/jrp/presenter/presenter_test.go +++ b/app/presentation/cli/jrp/presenter/presenter_test.go @@ -4,8 +4,8 @@ import ( "os" "testing" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) func TestPrint(t *testing.T) { diff --git a/app/presentation/cli/jrp/presenter/prompt.go b/app/presentation/cli/jrp/presenter/prompt.go index 4de7ab9..00b4980 100644 --- a/app/presentation/cli/jrp/presenter/prompt.go +++ b/app/presentation/cli/jrp/presenter/prompt.go @@ -1,8 +1,8 @@ package presenter import ( - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) var ( diff --git a/app/presentation/cli/jrp/presenter/prompt_test.go b/app/presentation/cli/jrp/presenter/prompt_test.go index 2ebe3a9..c623e4d 100644 --- a/app/presentation/cli/jrp/presenter/prompt_test.go +++ b/app/presentation/cli/jrp/presenter/prompt_test.go @@ -3,8 +3,8 @@ package presenter import ( "testing" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/app/presentation/cli/jrp/presenter/spinner.go b/app/presentation/cli/jrp/presenter/spinner.go index 55dfb9a..fb6fae3 100644 --- a/app/presentation/cli/jrp/presenter/spinner.go +++ b/app/presentation/cli/jrp/presenter/spinner.go @@ -1,8 +1,8 @@ package presenter import ( - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" ) var ( diff --git a/app/presentation/cli/jrp/presenter/spinner_test.go b/app/presentation/cli/jrp/presenter/spinner_test.go index f319589..a542c44 100644 --- a/app/presentation/cli/jrp/presenter/spinner_test.go +++ b/app/presentation/cli/jrp/presenter/spinner_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" - "github.com/yanosea/jrp/pkg/proxy" - "github.com/yanosea/jrp/pkg/utility" + "github.com/yanosea/jrp/v2/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/utility" "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/capture.go b/pkg/utility/capture.go index 51d2da1..8773b20 100644 --- a/pkg/utility/capture.go +++ b/pkg/utility/capture.go @@ -3,7 +3,7 @@ package utility import ( "os" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // Capturer is an interface that captures the output of a function. diff --git a/pkg/utility/capture_test.go b/pkg/utility/capture_test.go index fde5b84..1834a3a 100644 --- a/pkg/utility/capture_test.go +++ b/pkg/utility/capture_test.go @@ -7,7 +7,7 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/download_util.go b/pkg/utility/download_util.go index 14ff898..cd1fb2c 100644 --- a/pkg/utility/download_util.go +++ b/pkg/utility/download_util.go @@ -1,7 +1,7 @@ package utility import ( - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // DownloadUtil is an interface that contains the utility functions for downloading files. diff --git a/pkg/utility/download_util_mock.go b/pkg/utility/download_util_mock.go index c773dab..c706a11 100644 --- a/pkg/utility/download_util_mock.go +++ b/pkg/utility/download_util_mock.go @@ -12,7 +12,7 @@ package utility import ( reflect "reflect" - proxy "github.com/yanosea/jrp/pkg/proxy" + proxy "github.com/yanosea/jrp/v2/pkg/proxy" gomock "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/download_util_test.go b/pkg/utility/download_util_test.go index cf20496..d49614d 100644 --- a/pkg/utility/download_util_test.go +++ b/pkg/utility/download_util_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/file_util.go b/pkg/utility/file_util.go index 303fa27..bd65366 100644 --- a/pkg/utility/file_util.go +++ b/pkg/utility/file_util.go @@ -4,7 +4,7 @@ import ( "io" "path/filepath" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // FileUtil is an interface that contains the utility functions for file operations. diff --git a/pkg/utility/file_util_test.go b/pkg/utility/file_util_test.go index b344f57..16f3890 100644 --- a/pkg/utility/file_util_test.go +++ b/pkg/utility/file_util_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/keyboard_util.go b/pkg/utility/keyboard_util.go index b8a9589..9a43e9b 100644 --- a/pkg/utility/keyboard_util.go +++ b/pkg/utility/keyboard_util.go @@ -1,7 +1,7 @@ package utility import ( - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // KeyboardUtil provides the utility for the keyboard. diff --git a/pkg/utility/keyboard_util_test.go b/pkg/utility/keyboard_util_test.go index 2e8014c..8fabe6d 100644 --- a/pkg/utility/keyboard_util_test.go +++ b/pkg/utility/keyboard_util_test.go @@ -7,7 +7,7 @@ import ( "github.com/eiannone/keyboard" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/prompt_util.go b/pkg/utility/prompt_util.go index 661fa61..da846e3 100644 --- a/pkg/utility/prompt_util.go +++ b/pkg/utility/prompt_util.go @@ -1,7 +1,7 @@ package utility import ( - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) type PromptUtil interface { diff --git a/pkg/utility/prompt_util_mock.go b/pkg/utility/prompt_util_mock.go index ee14db6..ba002db 100644 --- a/pkg/utility/prompt_util_mock.go +++ b/pkg/utility/prompt_util_mock.go @@ -12,7 +12,7 @@ package utility import ( reflect "reflect" - proxy "github.com/yanosea/jrp/pkg/proxy" + proxy "github.com/yanosea/jrp/v2/pkg/proxy" gomock "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/prompt_util_test.go b/pkg/utility/prompt_util_test.go index 52e706a..a3e7cfc 100644 --- a/pkg/utility/prompt_util_test.go +++ b/pkg/utility/prompt_util_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/rand_util.go b/pkg/utility/rand_util.go index 41ea9ab..062ac97 100644 --- a/pkg/utility/rand_util.go +++ b/pkg/utility/rand_util.go @@ -1,7 +1,7 @@ package utility import ( - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // RandUtil is an interface that contains the utility functions for generating random numbers. diff --git a/pkg/utility/rand_util_test.go b/pkg/utility/rand_util_test.go index 611bc74..8528a6d 100644 --- a/pkg/utility/rand_util_test.go +++ b/pkg/utility/rand_util_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) func TestNewRandUtil(t *testing.T) { diff --git a/pkg/utility/spinner_util.go b/pkg/utility/spinner_util.go index 4172e78..c54ed9e 100644 --- a/pkg/utility/spinner_util.go +++ b/pkg/utility/spinner_util.go @@ -1,7 +1,7 @@ package utility import ( - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) type SpinnerUtil interface { diff --git a/pkg/utility/spinner_util_mock.go b/pkg/utility/spinner_util_mock.go index c3d0f51..0c1b268 100644 --- a/pkg/utility/spinner_util_mock.go +++ b/pkg/utility/spinner_util_mock.go @@ -12,7 +12,7 @@ package utility import ( reflect "reflect" - proxy "github.com/yanosea/jrp/pkg/proxy" + proxy "github.com/yanosea/jrp/v2/pkg/proxy" gomock "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/spinner_util_test.go b/pkg/utility/spinner_util_test.go index ae684b2..f5ec0b4 100644 --- a/pkg/utility/spinner_util_test.go +++ b/pkg/utility/spinner_util_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/tablewriter_util.go b/pkg/utility/tablewriter_util.go index 2c2397a..9206298 100644 --- a/pkg/utility/tablewriter_util.go +++ b/pkg/utility/tablewriter_util.go @@ -5,7 +5,7 @@ import ( "github.com/olekukonko/tablewriter" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // TableWriterUtil is an interface that contains the utility functions for writing tables. diff --git a/pkg/utility/tablewriter_util_mock.go b/pkg/utility/tablewriter_util_mock.go index ed14e9d..0f4f9b4 100644 --- a/pkg/utility/tablewriter_util_mock.go +++ b/pkg/utility/tablewriter_util_mock.go @@ -13,7 +13,7 @@ import ( io "io" reflect "reflect" - proxy "github.com/yanosea/jrp/pkg/proxy" + proxy "github.com/yanosea/jrp/v2/pkg/proxy" gomock "go.uber.org/mock/gomock" ) diff --git a/pkg/utility/tablewriter_util_test.go b/pkg/utility/tablewriter_util_test.go index 9bbedff..3ac1c53 100644 --- a/pkg/utility/tablewriter_util_test.go +++ b/pkg/utility/tablewriter_util_test.go @@ -6,7 +6,7 @@ import ( "reflect" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) func TestNewTableWriterUtil(t *testing.T) { diff --git a/pkg/utility/version_util.go b/pkg/utility/version_util.go index 786a23e..e23aed7 100644 --- a/pkg/utility/version_util.go +++ b/pkg/utility/version_util.go @@ -1,7 +1,7 @@ package utility import ( - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" ) // VersionUtil is an interface that provides the version of the application. diff --git a/pkg/utility/version_util_test.go b/pkg/utility/version_util_test.go index 1c6bee0..712b66f 100644 --- a/pkg/utility/version_util_test.go +++ b/pkg/utility/version_util_test.go @@ -5,7 +5,7 @@ import ( d "runtime/debug" "testing" - "github.com/yanosea/jrp/pkg/proxy" + "github.com/yanosea/jrp/v2/pkg/proxy" "go.uber.org/mock/gomock" )