From cbda04accd120bf1b26d8980684d0e1c08cd877e Mon Sep 17 00:00:00 2001 From: hirokisan Date: Wed, 25 Sep 2024 21:43:48 +0900 Subject: [PATCH] chore: delete unused --- v5_ws_trade.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/v5_ws_trade.go b/v5_ws_trade.go index 24747d4..4d0d2bc 100644 --- a/v5_ws_trade.go +++ b/v5_ws_trade.go @@ -64,14 +64,6 @@ func (s *V5WebsocketTradeService) judgeTopic(respBody []byte) (V5WebsocketTradeT return "", nil } -// parseResponse : -func (s *V5WebsocketTradeService) parseResponse(respBody []byte, response interface{}) error { - if err := json.Unmarshal(respBody, &response); err != nil { - return err - } - return nil -} - // Login : Apply for authentication when establishing a connection. func (s *V5WebsocketTradeService) Login() error { param, err := s.client.buildAuthParam()