BitgetLimited / v3-bitget-api-sdk

159 stars 161 forks source link

model.BookInfo is not defined (Golang) #34

Open ahmed-deftoner opened 1 year ago

ahmed-deftoner commented 1 year ago

In internal/common/bitgetwsclient.go, model.BookInfo is used but it is not defined anywhere

type BitgetBaseWsClient struct {
    NeedLogin        bool
    Connection       bool
    LoginStatus      bool
    Listener         OnReceive
    ErrorListener    OnReceive
    Ticker           *time.Ticker
    SendMutex        *sync.Mutex
    WebSocketClient  *websocket.Conn
    LastReceivedTime time.Time
    AllSuribe        *model.Set
    Signer           *Signer
    ScribeMap        map[model.SubscribeReq]OnReceive
    BooksMap         map[model.SubscribeReq]model.BookInfo
}