Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kev-daniell committed Jan 15, 2024
1 parent 640556e commit 19bff89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Alternatively, one can utilise the subscription to global orderbook events. By d

All relevant orderbook events are under the enum SubscriptionEvents.

> IMPORTANT TO NOTE: The callback in `OnSubscribe` takes a byte slice as an input, meaning it is your responsibility to Unmarshal it into the correct struct. To help you out, below are examples for all Subscription Events.
```go
package main

Expand Down

0 comments on commit 19bff89

Please sign in to comment.