diff --git a/CHANGELOG.md b/CHANGELOG.md index 606078e..0fe5562 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ Changelog ========= All notable changes to this project will be documented in this file. +v1.0.35-alpha +------------- + +### Changed + +- Fixed response struct unmarshalling issue + v1.0.34-alpha ------------- diff --git a/README.md b/README.md index b889e75..724a332 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Installation ----------------- ```bash -go get github.com/amir-the-h/okex@v1.0.34-alpha +go get github.com/amir-the-h/okex@v1.0.35-alpha ``` Usage diff --git a/models/market/market_models.go b/models/market/market_models.go index 7ebf748..aa7c96f 100644 --- a/models/market/market_models.go +++ b/models/market/market_models.go @@ -24,7 +24,7 @@ type ( Vol24h okex.JSONFloat64 `json:"vol24h"` SodUtc0 okex.JSONFloat64 `json:"sodUtc0"` SodUtc8 okex.JSONFloat64 `json:"sodUtc8"` - InstType okex.InstrumentType `json:"instType,string"` + InstType okex.InstrumentType `json:"instType"` TS okex.JSONTime `json:"ts"` } IndexTicker struct {