diff --git a/client.go b/client.go index e3c22c8..e55dd7d 100644 --- a/client.go +++ b/client.go @@ -29,14 +29,14 @@ import ( "sync" "sync/atomic" "time" +) - gxbytes "github.com/dubbogo/gost/bytes" - - gxnet "github.com/dubbogo/gost/net" - +import ( + "github.com/dubbogo/gost/bytes" + "github.com/dubbogo/gost/net" gxsync "github.com/dubbogo/gost/sync" - gxtime "github.com/dubbogo/gost/time" + "github.com/gorilla/websocket" perrors "github.com/pkg/errors" diff --git a/session.go b/session.go index d3405ef..694be2b 100644 --- a/session.go +++ b/session.go @@ -27,12 +27,13 @@ import ( "runtime" "sync" "time" +) +import ( gxbytes "github.com/dubbogo/gost/bytes" - gxcontext "github.com/dubbogo/gost/context" - gxtime "github.com/dubbogo/gost/time" + "github.com/gorilla/websocket" perrors "github.com/pkg/errors"