Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(v3 to v4): upgrading go.mod to release v4 on go dev packages #140

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# go-sdk
# GO SDK Library - CNIC 3rd Party Software Integrations

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Build Status](https://github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/workflows/Release/badge.svg?branch=master)](https://github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/workflows/Release/badge.svg?branch=master)
Expand Down
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/v3/idntranslator"
LG "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/logger"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/response"
RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/responsetemplatemanager"
SC "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/socketconfig"
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"
)

// ISPAPI_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 @@ -8,7 +8,7 @@ import (
"strings"
"testing"

R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/response"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/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/v3/logger"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/response"
L "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/logger"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/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/v3
module github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4

go 1.22.3

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/v3/idntranslator"
"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/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/v3/response"
R "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/response"
)

// ilogger reflect basic interface for loggers
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "go-sdk",
"name": "rtldev-middleware-go-sdk",
"description": "GO/GOLANG SDK for the insanely fast HEXONET API",
"version": "0.0.0-development",
"private": true,
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/v3/column"
"github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/record"
rp "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/responseparser"
rt "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/responsetranslator"
"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"
)

// 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/v3/responseparser"
RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/responsetemplatemanager"
RP "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/responseparser"
RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/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/v3/responseparser"
rp "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/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/v3/responseparser"
RP "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/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/v3/responsetemplatemanager"
RTM "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4/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/v3/response"
rp "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/responseparser"
rt "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3/responsetranslator"
"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"
)

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