Skip to content

Commit

Permalink
change ws lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagleft committed May 25, 2023
1 parent 0cd3c9a commit 5b4eeb8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=
Expand Down
2 changes: 1 addition & 1 deletion structs.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package utopiago

import (
"github.com/ctengiz/evtwebsocket"
"github.com/Sagleft/evtwebsocket"
)

// Query is a filter for API requests
Expand Down
2 changes: 1 addition & 1 deletion v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions v2/go.sum
Original file line number Diff line number Diff line change
@@ -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=
Expand Down
2 changes: 1 addition & 1 deletion v2/pkg/websocket/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"errors"

"github.com/ctengiz/evtwebsocket"
"github.com/Sagleft/evtwebsocket"
)

type wsHandler struct {
Expand Down
2 changes: 1 addition & 1 deletion ws.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"reflect"

"github.com/ctengiz/evtwebsocket"
"github.com/Sagleft/evtwebsocket"
)

// GetString - get string field from ws event.
Expand Down

0 comments on commit 5b4eeb8

Please sign in to comment.