how to capture and process web socket stream from binance with golang framework adshao?
i use golang and the framework adshao
https://pkg.go.dev/github.com/adshao/go-binance/[email protected]
i want to process the stream as it arrives and i have no idea how to do that.
the stream arrives in this variable event,and i need to separate the pairs so that i can process them.so i can’t loop through it,i can’t use string separator,i can’t add it to a map.how to do this?