From 903ca2f9b3065730cb19af4c7ac06e440b8655cb Mon Sep 17 00:00:00 2001 From: Rashad Jamara Date: Fri, 9 Apr 2021 09:07:03 +0200 Subject: [PATCH] perf(fixed version): included version number in go.mod --- apiclient/apiclient.go | 8 ++++---- apiclient/apiclient_test.go | 2 +- customlogger/customlogger.go | 4 ++-- go.mod | 2 +- logger/logger.go | 2 +- response/response.go | 6 +++--- response/response_test.go | 4 ++-- responsetemplate/responsetemplate.go | 2 +- responsetemplatemanager/responsetemplatemanager.go | 4 ++-- responsetemplatemanager/responsetemplatemanager_test.go | 2 +- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/apiclient/apiclient.go b/apiclient/apiclient.go index 6856494..3860ce3 100644 --- a/apiclient/apiclient.go +++ b/apiclient/apiclient.go @@ -20,10 +20,10 @@ import ( "strings" "time" - LG "github.com/hexonet/go-sdk/logger" - R "github.com/hexonet/go-sdk/response" - RTM "github.com/hexonet/go-sdk/responsetemplatemanager" - SC "github.com/hexonet/go-sdk/socketconfig" + LG "github.com/hexonet/go-sdk/v3/logger" + R "github.com/hexonet/go-sdk/v3/response" + RTM "github.com/hexonet/go-sdk/v3/responsetemplatemanager" + SC "github.com/hexonet/go-sdk/v3/socketconfig" ) // ISPAPI_CONNECTION_URL_PROXY represents the url used for the high performance connection setup diff --git a/apiclient/apiclient_test.go b/apiclient/apiclient_test.go index 6581aa4..c18aab8 100644 --- a/apiclient/apiclient_test.go +++ b/apiclient/apiclient_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - R "github.com/hexonet/go-sdk/response" + R "github.com/hexonet/go-sdk/v3/response" ) var cl = NewAPIClient() diff --git a/customlogger/customlogger.go b/customlogger/customlogger.go index d792c94..5ab8596 100644 --- a/customlogger/customlogger.go +++ b/customlogger/customlogger.go @@ -9,8 +9,8 @@ package customlogger import ( "fmt" - L "github.com/hexonet/go-sdk/logger" - R "github.com/hexonet/go-sdk/response" + L "github.com/hexonet/go-sdk/v3/logger" + R "github.com/hexonet/go-sdk/v3/response" ) // Logger is a struct representing logger for API communication. diff --git a/go.mod b/go.mod index 43a30b7..9936526 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/hexonet/go-sdk +module github.com/hexonet/go-sdk/v3 go 1.15 diff --git a/logger/logger.go b/logger/logger.go index 4cef309..c02ce2e 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -9,7 +9,7 @@ package logger import ( "fmt" - R "github.com/hexonet/go-sdk/response" + R "github.com/hexonet/go-sdk/v3/response" ) // ilogger reflect basic interface for loggers diff --git a/response/response.go b/response/response.go index d5a8c73..93d6cb6 100644 --- a/response/response.go +++ b/response/response.go @@ -14,9 +14,9 @@ import ( "strconv" "strings" - "github.com/hexonet/go-sdk/column" - "github.com/hexonet/go-sdk/record" - rt "github.com/hexonet/go-sdk/responsetemplate" + "github.com/hexonet/go-sdk/v3/column" + "github.com/hexonet/go-sdk/v3/record" + rt "github.com/hexonet/go-sdk/v3/responsetemplate" ) // Response is a struct used to cover basic functionality to work with diff --git a/response/response_test.go b/response/response_test.go index d74f09c..9335f88 100644 --- a/response/response_test.go +++ b/response/response_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - RP "github.com/hexonet/go-sdk/responseparser" - RTM "github.com/hexonet/go-sdk/responsetemplatemanager" + RP "github.com/hexonet/go-sdk/v3/responseparser" + RTM "github.com/hexonet/go-sdk/v3/responsetemplatemanager" ) var rtm = RTM.GetInstance() diff --git a/responsetemplate/responsetemplate.go b/responsetemplate/responsetemplate.go index 3df7f5f..9e5f19e 100644 --- a/responsetemplate/responsetemplate.go +++ b/responsetemplate/responsetemplate.go @@ -9,7 +9,7 @@ package responsetemplate import ( "strconv" - rp "github.com/hexonet/go-sdk/responseparser" + rp "github.com/hexonet/go-sdk/v3/responseparser" ) // ResponseTemplate is a struct used to cover basic functionality to work with diff --git a/responsetemplatemanager/responsetemplatemanager.go b/responsetemplatemanager/responsetemplatemanager.go index 1ff9843..ded1ee9 100644 --- a/responsetemplatemanager/responsetemplatemanager.go +++ b/responsetemplatemanager/responsetemplatemanager.go @@ -10,8 +10,8 @@ import ( "strings" "sync" - rp "github.com/hexonet/go-sdk/responseparser" - rt "github.com/hexonet/go-sdk/responsetemplate" + rp "github.com/hexonet/go-sdk/v3/responseparser" + rt "github.com/hexonet/go-sdk/v3/responsetemplate" ) // ResponseTemplateManager is a struct used to cover basic functionality to work with diff --git a/responsetemplatemanager/responsetemplatemanager_test.go b/responsetemplatemanager/responsetemplatemanager_test.go index 8c3dfbb..d9dd27e 100644 --- a/responsetemplatemanager/responsetemplatemanager_test.go +++ b/responsetemplatemanager/responsetemplatemanager_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - RT "github.com/hexonet/go-sdk/responsetemplate" + RT "github.com/hexonet/go-sdk/v3/responsetemplate" ) var rtm = GetInstance()