Skip to content

Commit

Permalink
chore(f): f
Browse files Browse the repository at this point in the history
  • Loading branch information
AsifNawaz-cnic committed Aug 29, 2024
1 parent 862a9dc commit 7607a9d
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 29 deletions.
10 changes: 5 additions & 5 deletions apiclient/apiclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import (
"strings"
"time"

IDN "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/idntranslator"
LG "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/logger"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/response"
RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responsetemplatemanager"
SC "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/socketconfig"
IDN "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/idntranslator"
LG "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/logger"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/response"
RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responsetemplatemanager"
SC "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/socketconfig"
)

// CNR_CONNECTION_URL_PROXY represents the url used for the high performance connection setup
Expand Down
2 changes: 1 addition & 1 deletion apiclient/apiclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/response"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/response"
)

var cl = NewAPIClient()
Expand Down
4 changes: 2 additions & 2 deletions customlogger/customlogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ package customlogger
import (
"fmt"

L "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/logger"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/response"
L "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/logger"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/response"
)

// Logger is a struct representing logger for API communication.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4
module github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5

go 1.22.1 // using this version to make it compatible with dnscontrol

Expand Down
2 changes: 1 addition & 1 deletion idntranslator/idntranslator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package idntranslator_test
import (
"testing"

"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/idntranslator"
"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/idntranslator"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package logger
import (
"fmt"

R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/response"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/response"
)

// ilogger reflect basic interface for loggers
Expand Down
16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "go-sdk",
"description": "GO/GOLANG SDK for the insanely fast HEXONET API",
"description": "GO/GOLANG SDK for the insanely fast CentralNic Reseller (fka RRPProxy) API",
"version": "0.0.0-development",
"private": true,
"author": {
"name": "Kai Schwarz",
"email": "[email protected]"
"email": "[email protected]"
},
"license": "MIT",
"engines": {
Expand All @@ -17,16 +17,20 @@
"maintainers": [
{
"name": "Kai Schwarz",
"email": "[email protected]"
"email": "[email protected]"
},
{
"name": "Asif Nawaz",
"email": "[email protected]"
}
],
"keywords": [
"hexonet",
"cnr",
"domain",
"api",
"connector",
"isp",
"ispapi",
"cnic",
"centralnic reseller",
"ssl",
"cert",
"dns",
Expand Down
8 changes: 4 additions & 4 deletions response/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
"strconv"
"strings"

"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/column"
"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/record"
rp "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responseparser"
rt "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responsetranslator"
"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/column"
"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/record"
rp "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responseparser"
rt "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responsetranslator"
)

// Response is a struct used to cover basic functionality to work with
Expand Down
4 changes: 2 additions & 2 deletions response/response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"strings"
"testing"

RP "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responseparser"
RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responsetemplatemanager"
RP "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responseparser"
RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responsetemplatemanager"
)

var rtm = RTM.GetInstance()
Expand Down
2 changes: 1 addition & 1 deletion responsetemplatemanager/responsetemplatemanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"sync"

rp "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responseparser"
rp "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responseparser"
)

// ResponseTemplateManager is a struct used to cover basic functionality to work with
Expand Down
2 changes: 1 addition & 1 deletion responsetemplatemanager/responsetemplatemanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

RP "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responseparser"
RP "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responseparser"
)

var rtm = GetInstance()
Expand Down
2 changes: 1 addition & 1 deletion responsetranslator/responsetranslator.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"regexp"
"strings"

RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responsetemplatemanager"
RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responsetemplatemanager"
)

type ResponseTranslator struct {
Expand Down
6 changes: 3 additions & 3 deletions responsetranslator/responsetranslator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package responsetranslator_test
import (
"testing"

"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/response"
rp "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responseparser"
rt "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responsetranslator"
"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/response"
rp "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responseparser"
rt "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v5/responsetranslator"
)

func TestTranslate(t *testing.T) {
Expand Down

0 comments on commit 7607a9d

Please sign in to comment.