Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Sep 5, 2024
1 parent 6441c83 commit 92a1ca3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ws/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"github.com/farseer-go/fs/exception"
"github.com/farseer-go/fs/fastReflect"
"github.com/farseer-go/fs/flog"
"github.com/farseer-go/fs/parse"
"golang.org/x/net/websocket"
"net"
Expand Down Expand Up @@ -87,6 +88,7 @@ func (receiver *Client) Receiver(val any) error {
receiver.errorIsClose(err)
return err
}
flog.Info(string(retMsg[:n]))
return json.Unmarshal(retMsg[:n], val)
}

Expand Down

0 comments on commit 92a1ca3

Please sign in to comment.