From 6f5b348c789989b1ecb71037e863e2a0d1cee93c Mon Sep 17 00:00:00 2001 From: Amir Date: Sun, 19 Mar 2023 20:52:48 +0300 Subject: [PATCH] Release: v1.0.35-alpha --- CHANGELOG.md | 7 +++++++ README.md | 2 +- models/market/market_models.go | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) 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 {