diff --git a/go.mod b/go.mod index 7b8dfe8..38b03fa 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/Sagleft/utopialib-go go 1.16 require ( - github.com/ctengiz/evtwebsocket v0.0.0-20180717104640-fc3583982591 + github.com/Sagleft/evtwebsocket v1.0.0 github.com/stretchr/testify v1.8.1 golang.org/x/net v0.0.0-20220526153639-5463443f8c37 // indirect gopkg.in/grignaak/tribool.v1 v1.0.0-20150312065122-d6bb19d816df diff --git a/go.sum b/go.sum index 74de3da..7806447 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/ctengiz/evtwebsocket v0.0.0-20180717104640-fc3583982591 h1:I+6x3CO8LDrWNe6r6L9y3n3dYXGcKO9BKhJ/dVUYcwc= -github.com/ctengiz/evtwebsocket v0.0.0-20180717104640-fc3583982591/go.mod h1:lpk0rZYe7Oil/0fxAXpasQr7TGtHLSoFIYvk7QnpNEM= +github.com/Sagleft/evtwebsocket v1.0.0 h1:De5nktMLflssyrLcBLi9yVJM65sbVUIWItcVjhDeOP4= +github.com/Sagleft/evtwebsocket v1.0.0/go.mod h1:Tcws35VyLh2cL1MqUXn6/4+w3rlEsMUt2grpUVSHoYw= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/structs.go b/structs.go index 78ffca8..899fc04 100644 --- a/structs.go +++ b/structs.go @@ -1,7 +1,7 @@ package utopiago import ( - "github.com/ctengiz/evtwebsocket" + "github.com/Sagleft/evtwebsocket" ) // Query is a filter for API requests diff --git a/v2/go.mod b/v2/go.mod index c46e043..5bf7b1c 100644 --- a/v2/go.mod +++ b/v2/go.mod @@ -3,8 +3,8 @@ module github.com/Sagleft/utopialib-go/v2 go 1.18 require ( + github.com/Sagleft/evtwebsocket v1.0.0 github.com/beefsack/go-rate v0.0.0-20220214233405-116f4ca011a0 - github.com/ctengiz/evtwebsocket v0.0.0-20180717104640-fc3583982591 github.com/golang/mock v1.6.0 github.com/stretchr/testify v1.8.1 gopkg.in/grignaak/tribool.v1 v1.0.0-20150312065122-d6bb19d816df diff --git a/v2/go.sum b/v2/go.sum index bb191c0..4e0f42f 100644 --- a/v2/go.sum +++ b/v2/go.sum @@ -1,7 +1,7 @@ +github.com/Sagleft/evtwebsocket v1.0.0 h1:De5nktMLflssyrLcBLi9yVJM65sbVUIWItcVjhDeOP4= +github.com/Sagleft/evtwebsocket v1.0.0/go.mod h1:Tcws35VyLh2cL1MqUXn6/4+w3rlEsMUt2grpUVSHoYw= github.com/beefsack/go-rate v0.0.0-20220214233405-116f4ca011a0 h1:0b2vaepXIfMsG++IsjHiI2p4bxALD1Y2nQKGMR5zDQM= github.com/beefsack/go-rate v0.0.0-20220214233405-116f4ca011a0/go.mod h1:6YNgTHLutezwnBvyneBbwvB8C82y3dcoOj5EQJIdGXA= -github.com/ctengiz/evtwebsocket v0.0.0-20180717104640-fc3583982591 h1:I+6x3CO8LDrWNe6r6L9y3n3dYXGcKO9BKhJ/dVUYcwc= -github.com/ctengiz/evtwebsocket v0.0.0-20180717104640-fc3583982591/go.mod h1:lpk0rZYe7Oil/0fxAXpasQr7TGtHLSoFIYvk7QnpNEM= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/v2/pkg/websocket/handler.go b/v2/pkg/websocket/handler.go index d849f53..abd2818 100644 --- a/v2/pkg/websocket/handler.go +++ b/v2/pkg/websocket/handler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "errors" - "github.com/ctengiz/evtwebsocket" + "github.com/Sagleft/evtwebsocket" ) type wsHandler struct { diff --git a/ws.go b/ws.go index fcbfa44..278c826 100644 --- a/ws.go +++ b/ws.go @@ -5,7 +5,7 @@ import ( "errors" "reflect" - "github.com/ctengiz/evtwebsocket" + "github.com/Sagleft/evtwebsocket" ) // GetString - get string field from ws event.