From 1f1d2e1a845c33a3b016ce37274708c16bc93f97 Mon Sep 17 00:00:00 2001 From: "Mickey (Ah !)" <1615258@qq.com> Date: Sat, 24 Apr 2021 16:56:11 +0800 Subject: [PATCH] Modified lowercase package name --- README.md | 22 +++++++++---------- .../BLVTCandlestick/BLVTCandlestick.go | 6 ++--- .../usdt/websocket/BLVTInfo/BLVTInfo.go | 6 ++--- .../usdt/websocket/aggTrade/aggTrade.go | 6 ++--- .../websocket/allBookTicker/allBookTicker.go | 6 ++--- .../allMarketLiquidationOrder.go | 6 ++--- .../allMarketMiniTicker.go | 6 ++--- .../allMarketPrice/allMarketPrice.go | 6 ++--- .../allMarketTicker/allMarketTicker.go | 6 ++--- .../usdt/websocket/candlestick/candlestick.go | 6 ++--- .../compositeIndex/compositeIndex.go | 6 ++--- .../continuesCandlestick.go | 6 ++--- .../websocket/diffBookDepth/diffBookDepth.go | 6 ++--- .../liquidationOrder/liquidationOrder.go | 6 ++--- .../usdt/websocket/marketPrice/marketPrice.go | 6 ++--- .../partialBookDepth/partialBookDepth.go | 6 ++--- .../symbolBookTicker/symbolBookTicker.go | 6 ++--- .../symbolMiniTicker/symbolMiniTicker.go | 6 ++--- .../websocket/symbolTicker/symbolTicker.go | 6 ++--- example/spot/client/common/common.go | 8 +++---- example/spot/client/market/market.go | 8 +++---- example/spot/client/trade/trade.go | 14 ++++++------ example/spot/client/wallet/wallet.go | 8 +++---- example/spot/websocket/account/account.go | 8 +++---- example/spot/websocket/aggTrade/aggTrade.go | 6 ++--- .../websocket/allBookTicker/allBookTicker.go | 6 ++--- .../allMarketMiniTicker/allMaketMiniTicker.go | 6 ++--- .../allMarketTicker/allMarketTicker.go | 6 ++--- example/spot/websocket/balance/balance.go | 8 +++---- .../spot/websocket/candlestick/candlestick.go | 6 ++--- example/spot/websocket/diffDepth/diffDepth.go | 6 ++--- example/spot/websocket/order/order.go | 8 +++---- .../partialBookDepth/partialBookDepth.go | 6 ++--- .../symbolBookTicker/symbolBookTicker.go | 6 ++--- .../symbolMiniTicker/symbolMiniTicker.go | 6 ++--- .../websocket/symbolTicker/symbolTicker.go | 6 ++--- example/spot/websocket/trade/trade.go | 6 ++--- .../market/BLVTCandlestickWebsocket.go | 8 +++---- .../market/BLVTCandlestickWebsocket_test.go | 4 ++-- .../websocket/market/BLVTInfoWebsocket.go | 8 +++---- .../market/BLVTInfoWebsocket_test.go | 4 ++-- .../websocket/market/aggTradeWebsocket.go | 8 +++---- .../market/aggTradeWebsocket_test.go | 4 ++-- .../market/allBookTickerWebsocket.go | 8 +++---- .../market/allBookTickerWebsocket_test.go | 4 ++-- .../allMarketLiquidationOrderWebsocket.go | 8 +++---- ...allMarketLiquidationOrderWebsocket_test.go | 4 ++-- .../market/allMarketMiniTickerWebsocket.go | 8 +++---- .../allMarketMiniTickerWebsocket_test.go | 4 ++-- .../market/allMarketPriceWebsocket.go | 8 +++---- .../market/allMarketPriceWebsocket_test.go | 4 ++-- .../market/allMarketTickerWebsocket.go | 8 +++---- .../market/allMarketTickerWebsocket_test.go | 4 ++-- .../websocket/market/candlestickWebsocket.go | 8 +++---- .../market/candlestickWebsocket_test.go | 4 ++-- .../market/compositeIndexWebsocket.go | 8 +++---- .../market/compositeIndexWebsocket_test.go | 4 ++-- .../market/continuesCandlestickWebsocket.go | 8 +++---- .../continuesCandlestickWebsocket_test.go | 4 ++-- .../market/diffBookDepthWebsocket.go | 8 +++---- .../market/diffBookDepthWebsocket_test.go | 4 ++-- .../market/liquidationOrderWebsocket.go | 8 +++---- .../market/liquidationOrderWebsocket_test.go | 4 ++-- .../websocket/market/marketPriceWebsocket.go | 8 +++---- .../market/marketPriceWebsocket_test.go | 4 ++-- .../market/partialBookDepthWebsocket.go | 8 +++---- .../market/partialBookDepthWebsocket_test.go | 4 ++-- .../market/symbolBookTickerWebsocket.go | 8 +++---- .../market/symbolBookTickerWebsocket_test.go | 4 ++-- .../market/symbolMiniTickerWebsocket.go | 8 +++---- .../market/symbolMiniTickerWebsocket_test.go | 4 ++-- .../websocket/market/symbolTickerWebsocket.go | 8 +++---- .../market/symbolTickerWebsocket_test.go | 4 ++-- go.mod | 2 +- request.go | 2 +- request_test.go | 2 +- spot/client/common.go | 6 ++--- spot/client/common_test.go | 4 ++-- spot/client/market.go | 6 ++--- spot/client/market_test.go | 2 +- spot/client/orderBuilder.go | 2 +- spot/client/orderBuilder_test.go | 6 ++--- spot/client/trade.go | 8 +++---- spot/client/trade_test.go | 6 ++--- spot/client/wallet.go | 6 ++--- spot/client/wallet_test.go | 4 ++-- spot/websocket/account/accountWebsocket.go | 8 +++---- .../account/accountWebsocket_test.go | 4 ++-- spot/websocket/account/balanceWebsocket.go | 8 +++---- .../account/balanceWebsocket_test.go | 4 ++-- spot/websocket/account/listenKey.go | 8 +++---- spot/websocket/account/listenKey_test.go | 4 ++-- spot/websocket/account/orderWebsocket.go | 8 +++---- spot/websocket/account/orderWebsocket_test.go | 4 ++-- spot/websocket/market/aggTradeWebsocket.go | 8 +++---- .../market/aggTradeWebsocket_test.go | 4 ++-- .../market/allBookTickerWebsocket.go | 8 +++---- .../market/allBookTickerWebsocket_test.go | 4 ++-- .../market/allMarketMiniTickerWebsocket.go | 8 +++---- .../allMarketMiniTickerWebsocket_test.go | 4 ++-- .../market/allMarketTickerWebsocket.go | 8 +++---- .../market/allMarketTickerWebsocket_test.go | 4 ++-- spot/websocket/market/candlestickWebsocket.go | 8 +++---- .../market/candlestickWebsocket_test.go | 4 ++-- spot/websocket/market/diffDepthWebsocket.go | 8 +++---- .../market/diffDepthWebsocket_test.go | 4 ++-- .../market/partialBookDepthWebsocket.go | 8 +++---- .../market/partialBookDepthWebsocket_test.go | 4 ++-- .../market/symbolBookTickerWebsocket.go | 8 +++---- .../market/symbolBookTickerWebsocket_test.go | 4 ++-- .../market/symbolMiniTickerWebsocket.go | 8 +++---- .../market/symbolMiniTickerWebsocket_test.go | 4 ++-- .../websocket/market/symbolTickerWebsocket.go | 8 +++---- .../market/symbolTickerWebsocket_test.go | 4 ++-- spot/websocket/market/tradeWebsocket.go | 8 +++---- spot/websocket/market/tradeWebsocket_test.go | 4 ++-- websocket.go | 4 ++-- websocket_test.go | 2 +- 118 files changed, 358 insertions(+), 358 deletions(-) diff --git a/README.md b/README.md index c260ff4..0fbb9d8 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # Binance API Go Language SDK -[![Go Report Card](https://goreportcard.com/badge/github.com/dirname/Binance?style=flat-square)](https://goreportcard.com/report/github.com/dirname/Binance) +[![Go Report Card](https://goreportcard.com/badge/github.com/dirname/binance?style=flat-square)](https://goreportcard.com/report/github.com/dirname/binance) [![Build Status](https://img.shields.io/travis/dirname/Binance?style=flat-square)](https://travis-ci.org/dirname/Binance) [![codecov](https://img.shields.io/codecov/c/gh/dirname/binance/main?style=flat-square&token=A6U52MYCXN)](https://codecov.io/gh/dirname/Binance) [![license](https://img.shields.io/github/license/dirname/Binance?style=flat-square)](LICENSE) [![Go Version](https://img.shields.io/github/go-mod/go-version/dirname/Binance?style=flat-square)](https://golang.org) -[![GoDoc](https://img.shields.io/badge/reference-007d9c?style=flat-square&logo=Go&logoColor=F9F9F9&labelColor=5C5C5C&labelWidth=80)](https://pkg.go.dev/github.com/dirname/Binance) -[![Release](https://img.shields.io/github/release/dirname/Binance.svg?style=flat-square)](https://github.com/dirname/Binance/releases) -[![Release Date](https://img.shields.io/github/release-date/dirname/Binance?style=flat-square)](https://github.com/dirname/Binance/releases) -[![Commit](https://img.shields.io/github/last-commit/dirname/Binance?style=flat-square)](https://github.com/dirname/Binance/commits) +[![GoDoc](https://img.shields.io/badge/reference-007d9c?style=flat-square&logo=Go&logoColor=F9F9F9&labelColor=5C5C5C&labelWidth=80)](https://pkg.go.dev/github.com/dirname/binance) +[![Release](https://img.shields.io/github/release/dirname/Binance.svg?style=flat-square)](https://github.com/dirname/binance/releases) +[![Release Date](https://img.shields.io/github/release-date/dirname/Binance?style=flat-square)](https://github.com/dirname/binance/releases) +[![Commit](https://img.shields.io/github/last-commit/dirname/Binance?style=flat-square)](https://github.com/dirname/binance/commits) This is a Binance Go language sdk that uses a method similar to [HuobiRDCenter/huobi_Golang](https://github.com/huobirdcenter/huobi_golang) @@ -28,7 +28,7 @@ You are very welcome to submit issues or pull requests to share with this projec repo has removed all WAPI endpoints from the Binance API in advance* *[More Information](https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269)* -- [spot/client/market.go:Line185](https://github.com/dirname/Binance/blob/main/spot/client/market.go#L185) +- [spot/client/market.go:Line185](https://github.com/dirname/binance/blob/main/spot/client/market.go#L185) `GetCandlestick()` *It is not recommended using this method, this method may have type errors, please use websocket subscription to @@ -135,8 +135,8 @@ Examples of user transfers in the universal package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" "github.com/shopspring/decimal" "reflect" "testing" @@ -173,9 +173,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/BLVTCandlestick/BLVTCandlestick.go b/example/futures/usdt/websocket/BLVTCandlestick/BLVTCandlestick.go index 1c2b3a5..59c389b 100644 --- a/example/futures/usdt/websocket/BLVTCandlestick/BLVTCandlestick.go +++ b/example/futures/usdt/websocket/BLVTCandlestick/BLVTCandlestick.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/BLVTInfo/BLVTInfo.go b/example/futures/usdt/websocket/BLVTInfo/BLVTInfo.go index 47b9bca..dc901c7 100644 --- a/example/futures/usdt/websocket/BLVTInfo/BLVTInfo.go +++ b/example/futures/usdt/websocket/BLVTInfo/BLVTInfo.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/aggTrade/aggTrade.go b/example/futures/usdt/websocket/aggTrade/aggTrade.go index 752de26..e8f4fc5 100644 --- a/example/futures/usdt/websocket/aggTrade/aggTrade.go +++ b/example/futures/usdt/websocket/aggTrade/aggTrade.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/allBookTicker/allBookTicker.go b/example/futures/usdt/websocket/allBookTicker/allBookTicker.go index 102249d..9ac1234 100644 --- a/example/futures/usdt/websocket/allBookTicker/allBookTicker.go +++ b/example/futures/usdt/websocket/allBookTicker/allBookTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/allMarketLiquidationOrder/allMarketLiquidationOrder.go b/example/futures/usdt/websocket/allMarketLiquidationOrder/allMarketLiquidationOrder.go index 617c599..b0ffe19 100644 --- a/example/futures/usdt/websocket/allMarketLiquidationOrder/allMarketLiquidationOrder.go +++ b/example/futures/usdt/websocket/allMarketLiquidationOrder/allMarketLiquidationOrder.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/allMarketMiniTicker/allMarketMiniTicker.go b/example/futures/usdt/websocket/allMarketMiniTicker/allMarketMiniTicker.go index aef64b4..d806a14 100644 --- a/example/futures/usdt/websocket/allMarketMiniTicker/allMarketMiniTicker.go +++ b/example/futures/usdt/websocket/allMarketMiniTicker/allMarketMiniTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/allMarketPrice/allMarketPrice.go b/example/futures/usdt/websocket/allMarketPrice/allMarketPrice.go index a917256..be18fd1 100644 --- a/example/futures/usdt/websocket/allMarketPrice/allMarketPrice.go +++ b/example/futures/usdt/websocket/allMarketPrice/allMarketPrice.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/allMarketTicker/allMarketTicker.go b/example/futures/usdt/websocket/allMarketTicker/allMarketTicker.go index 9e5585c..25b5b04 100644 --- a/example/futures/usdt/websocket/allMarketTicker/allMarketTicker.go +++ b/example/futures/usdt/websocket/allMarketTicker/allMarketTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/candlestick/candlestick.go b/example/futures/usdt/websocket/candlestick/candlestick.go index 251a419..4ee588f 100644 --- a/example/futures/usdt/websocket/candlestick/candlestick.go +++ b/example/futures/usdt/websocket/candlestick/candlestick.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/compositeIndex/compositeIndex.go b/example/futures/usdt/websocket/compositeIndex/compositeIndex.go index 659153b..2a31fbd 100644 --- a/example/futures/usdt/websocket/compositeIndex/compositeIndex.go +++ b/example/futures/usdt/websocket/compositeIndex/compositeIndex.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/continuesCandlestick/continuesCandlestick.go b/example/futures/usdt/websocket/continuesCandlestick/continuesCandlestick.go index 12d5f29..884774c 100644 --- a/example/futures/usdt/websocket/continuesCandlestick/continuesCandlestick.go +++ b/example/futures/usdt/websocket/continuesCandlestick/continuesCandlestick.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/diffBookDepth/diffBookDepth.go b/example/futures/usdt/websocket/diffBookDepth/diffBookDepth.go index 8b248a0..189d841 100644 --- a/example/futures/usdt/websocket/diffBookDepth/diffBookDepth.go +++ b/example/futures/usdt/websocket/diffBookDepth/diffBookDepth.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/liquidationOrder/liquidationOrder.go b/example/futures/usdt/websocket/liquidationOrder/liquidationOrder.go index 18d4c4a..859da9a 100644 --- a/example/futures/usdt/websocket/liquidationOrder/liquidationOrder.go +++ b/example/futures/usdt/websocket/liquidationOrder/liquidationOrder.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/marketPrice/marketPrice.go b/example/futures/usdt/websocket/marketPrice/marketPrice.go index ffe1fd9..348b617 100644 --- a/example/futures/usdt/websocket/marketPrice/marketPrice.go +++ b/example/futures/usdt/websocket/marketPrice/marketPrice.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/partialBookDepth/partialBookDepth.go b/example/futures/usdt/websocket/partialBookDepth/partialBookDepth.go index f4ee184..c11af63 100644 --- a/example/futures/usdt/websocket/partialBookDepth/partialBookDepth.go +++ b/example/futures/usdt/websocket/partialBookDepth/partialBookDepth.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/symbolBookTicker/symbolBookTicker.go b/example/futures/usdt/websocket/symbolBookTicker/symbolBookTicker.go index 946162b..2f36da4 100644 --- a/example/futures/usdt/websocket/symbolBookTicker/symbolBookTicker.go +++ b/example/futures/usdt/websocket/symbolBookTicker/symbolBookTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/symbolMiniTicker/symbolMiniTicker.go b/example/futures/usdt/websocket/symbolMiniTicker/symbolMiniTicker.go index 111091a..ff36169 100644 --- a/example/futures/usdt/websocket/symbolMiniTicker/symbolMiniTicker.go +++ b/example/futures/usdt/websocket/symbolMiniTicker/symbolMiniTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/futures/usdt/websocket/symbolTicker/symbolTicker.go b/example/futures/usdt/websocket/symbolTicker/symbolTicker.go index 1e5d2c0..2d6ef28 100644 --- a/example/futures/usdt/websocket/symbolTicker/symbolTicker.go +++ b/example/futures/usdt/websocket/symbolTicker/symbolTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/dirname/Binance/futures/usdt/websocket/market" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance/futures/usdt/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "time" ) diff --git a/example/spot/client/common/common.go b/example/spot/client/common/common.go index f089973..2f97030 100644 --- a/example/spot/client/common/common.go +++ b/example/spot/client/common/common.go @@ -1,10 +1,10 @@ package main import ( - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/client" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/client" ) var commonClient *spotclient.CommonClient diff --git a/example/spot/client/market/market.go b/example/spot/client/market/market.go index 12c45ef..067e386 100644 --- a/example/spot/client/market/market.go +++ b/example/spot/client/market/market.go @@ -1,10 +1,10 @@ package main import ( - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/client" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/client" ) var marketClient *spotclient.MarketClient diff --git a/example/spot/client/trade/trade.go b/example/spot/client/trade/trade.go index 30a6d06..2e2638e 100644 --- a/example/spot/client/trade/trade.go +++ b/example/spot/client/trade/trade.go @@ -1,13 +1,13 @@ package main import ( - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/client" - "github.com/dirname/Binance/spot/client/orderSide" - "github.com/dirname/Binance/spot/client/orderType" - "github.com/dirname/Binance/spot/client/timeInForce" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/client" + "github.com/dirname/binance/spot/client/orderSide" + "github.com/dirname/binance/spot/client/orderType" + "github.com/dirname/binance/spot/client/timeInForce" "github.com/shopspring/decimal" ) diff --git a/example/spot/client/wallet/wallet.go b/example/spot/client/wallet/wallet.go index abcd7a3..2f90615 100644 --- a/example/spot/client/wallet/wallet.go +++ b/example/spot/client/wallet/wallet.go @@ -1,10 +1,10 @@ package main import ( - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/client" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/client" ) var walletClient *spotclient.WalletClient diff --git a/example/spot/websocket/account/account.go b/example/spot/websocket/account/account.go index 3a64abb..3b3b3d2 100644 --- a/example/spot/websocket/account/account.go +++ b/example/spot/websocket/account/account.go @@ -2,10 +2,10 @@ package main import ( "fmt" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/account" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/account" "time" ) diff --git a/example/spot/websocket/aggTrade/aggTrade.go b/example/spot/websocket/aggTrade/aggTrade.go index fe86554..4e81f37 100644 --- a/example/spot/websocket/aggTrade/aggTrade.go +++ b/example/spot/websocket/aggTrade/aggTrade.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/allBookTicker/allBookTicker.go b/example/spot/websocket/allBookTicker/allBookTicker.go index bc77f76..2d987ae 100644 --- a/example/spot/websocket/allBookTicker/allBookTicker.go +++ b/example/spot/websocket/allBookTicker/allBookTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - spotclient "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + spotclient "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/allMarketMiniTicker/allMaketMiniTicker.go b/example/spot/websocket/allMarketMiniTicker/allMaketMiniTicker.go index 2c85789..f185070 100644 --- a/example/spot/websocket/allMarketMiniTicker/allMaketMiniTicker.go +++ b/example/spot/websocket/allMarketMiniTicker/allMaketMiniTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - spotclient "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + spotclient "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/allMarketTicker/allMarketTicker.go b/example/spot/websocket/allMarketTicker/allMarketTicker.go index 984a7af..5325bd5 100644 --- a/example/spot/websocket/allMarketTicker/allMarketTicker.go +++ b/example/spot/websocket/allMarketTicker/allMarketTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - spotclient "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + spotclient "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/balance/balance.go b/example/spot/websocket/balance/balance.go index df53bbb..338b81c 100644 --- a/example/spot/websocket/balance/balance.go +++ b/example/spot/websocket/balance/balance.go @@ -2,10 +2,10 @@ package main import ( "fmt" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/account" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/account" "time" ) diff --git a/example/spot/websocket/candlestick/candlestick.go b/example/spot/websocket/candlestick/candlestick.go index bc19e33..e817955 100644 --- a/example/spot/websocket/candlestick/candlestick.go +++ b/example/spot/websocket/candlestick/candlestick.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/diffDepth/diffDepth.go b/example/spot/websocket/diffDepth/diffDepth.go index ee0d5a4..5289cb6 100644 --- a/example/spot/websocket/diffDepth/diffDepth.go +++ b/example/spot/websocket/diffDepth/diffDepth.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/order/order.go b/example/spot/websocket/order/order.go index fbe0164..e86b43e 100644 --- a/example/spot/websocket/order/order.go +++ b/example/spot/websocket/order/order.go @@ -2,10 +2,10 @@ package main import ( "fmt" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/account" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/account" "time" ) diff --git a/example/spot/websocket/partialBookDepth/partialBookDepth.go b/example/spot/websocket/partialBookDepth/partialBookDepth.go index 2bcc76a..950404f 100644 --- a/example/spot/websocket/partialBookDepth/partialBookDepth.go +++ b/example/spot/websocket/partialBookDepth/partialBookDepth.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/symbolBookTicker/symbolBookTicker.go b/example/spot/websocket/symbolBookTicker/symbolBookTicker.go index 445c320..2b301b0 100644 --- a/example/spot/websocket/symbolBookTicker/symbolBookTicker.go +++ b/example/spot/websocket/symbolBookTicker/symbolBookTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/symbolMiniTicker/symbolMiniTicker.go b/example/spot/websocket/symbolMiniTicker/symbolMiniTicker.go index 91e0aae..cc023f1 100644 --- a/example/spot/websocket/symbolMiniTicker/symbolMiniTicker.go +++ b/example/spot/websocket/symbolMiniTicker/symbolMiniTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/symbolTicker/symbolTicker.go b/example/spot/websocket/symbolTicker/symbolTicker.go index cedeb4f..3bbbf6b 100644 --- a/example/spot/websocket/symbolTicker/symbolTicker.go +++ b/example/spot/websocket/symbolTicker/symbolTicker.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/example/spot/websocket/trade/trade.go b/example/spot/websocket/trade/trade.go index 3b23edd..268351b 100644 --- a/example/spot/websocket/trade/trade.go +++ b/example/spot/websocket/trade/trade.go @@ -2,9 +2,9 @@ package main import ( "fmt" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/websocket/market" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/websocket/market" "time" ) diff --git a/futures/usdt/websocket/market/BLVTCandlestickWebsocket.go b/futures/usdt/websocket/market/BLVTCandlestickWebsocket.go index 55aebde..922bc11 100644 --- a/futures/usdt/websocket/market/BLVTCandlestickWebsocket.go +++ b/futures/usdt/websocket/market/BLVTCandlestickWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesBLVTCandlestickWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/BLVTCandlestickWebsocket_test.go b/futures/usdt/websocket/market/BLVTCandlestickWebsocket_test.go index 1213fcf..9ae7f8b 100644 --- a/futures/usdt/websocket/market/BLVTCandlestickWebsocket_test.go +++ b/futures/usdt/websocket/market/BLVTCandlestickWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/BLVTInfoWebsocket.go b/futures/usdt/websocket/market/BLVTInfoWebsocket.go index b270d99..1548099 100644 --- a/futures/usdt/websocket/market/BLVTInfoWebsocket.go +++ b/futures/usdt/websocket/market/BLVTInfoWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesBLVTInfoWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/BLVTInfoWebsocket_test.go b/futures/usdt/websocket/market/BLVTInfoWebsocket_test.go index e533bdd..60551ec 100644 --- a/futures/usdt/websocket/market/BLVTInfoWebsocket_test.go +++ b/futures/usdt/websocket/market/BLVTInfoWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/aggTradeWebsocket.go b/futures/usdt/websocket/market/aggTradeWebsocket.go index b1fb08d..0a49755 100644 --- a/futures/usdt/websocket/market/aggTradeWebsocket.go +++ b/futures/usdt/websocket/market/aggTradeWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesAggTradeWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/aggTradeWebsocket_test.go b/futures/usdt/websocket/market/aggTradeWebsocket_test.go index 9dcd5a2..261d0d3 100644 --- a/futures/usdt/websocket/market/aggTradeWebsocket_test.go +++ b/futures/usdt/websocket/market/aggTradeWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/allBookTickerWebsocket.go b/futures/usdt/websocket/market/allBookTickerWebsocket.go index 41d5585..1219350 100644 --- a/futures/usdt/websocket/market/allBookTickerWebsocket.go +++ b/futures/usdt/websocket/market/allBookTickerWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesAllBookTickerWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/allBookTickerWebsocket_test.go b/futures/usdt/websocket/market/allBookTickerWebsocket_test.go index cb0bd98..6ce7a18 100644 --- a/futures/usdt/websocket/market/allBookTickerWebsocket_test.go +++ b/futures/usdt/websocket/market/allBookTickerWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/allMarketLiquidationOrderWebsocket.go b/futures/usdt/websocket/market/allMarketLiquidationOrderWebsocket.go index e0e2008..7642de0 100644 --- a/futures/usdt/websocket/market/allMarketLiquidationOrderWebsocket.go +++ b/futures/usdt/websocket/market/allMarketLiquidationOrderWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesAllMarketLiquidationOrderWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/allMarketLiquidationOrderWebsocket_test.go b/futures/usdt/websocket/market/allMarketLiquidationOrderWebsocket_test.go index 2dd70a9..68767ed 100644 --- a/futures/usdt/websocket/market/allMarketLiquidationOrderWebsocket_test.go +++ b/futures/usdt/websocket/market/allMarketLiquidationOrderWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/allMarketMiniTickerWebsocket.go b/futures/usdt/websocket/market/allMarketMiniTickerWebsocket.go index 09e6d43..48655f1 100644 --- a/futures/usdt/websocket/market/allMarketMiniTickerWebsocket.go +++ b/futures/usdt/websocket/market/allMarketMiniTickerWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesAllMarketMiniTickerWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/allMarketMiniTickerWebsocket_test.go b/futures/usdt/websocket/market/allMarketMiniTickerWebsocket_test.go index 0197ae0..f190d4f 100644 --- a/futures/usdt/websocket/market/allMarketMiniTickerWebsocket_test.go +++ b/futures/usdt/websocket/market/allMarketMiniTickerWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/allMarketPriceWebsocket.go b/futures/usdt/websocket/market/allMarketPriceWebsocket.go index 3056eaa..020a982 100644 --- a/futures/usdt/websocket/market/allMarketPriceWebsocket.go +++ b/futures/usdt/websocket/market/allMarketPriceWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesAllMarketPriceWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/allMarketPriceWebsocket_test.go b/futures/usdt/websocket/market/allMarketPriceWebsocket_test.go index c634433..1b8b8cc 100644 --- a/futures/usdt/websocket/market/allMarketPriceWebsocket_test.go +++ b/futures/usdt/websocket/market/allMarketPriceWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/allMarketTickerWebsocket.go b/futures/usdt/websocket/market/allMarketTickerWebsocket.go index 34f5fba..64b6899 100644 --- a/futures/usdt/websocket/market/allMarketTickerWebsocket.go +++ b/futures/usdt/websocket/market/allMarketTickerWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesAllMarketTickerWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/allMarketTickerWebsocket_test.go b/futures/usdt/websocket/market/allMarketTickerWebsocket_test.go index c9500a1..615ee46 100644 --- a/futures/usdt/websocket/market/allMarketTickerWebsocket_test.go +++ b/futures/usdt/websocket/market/allMarketTickerWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/candlestickWebsocket.go b/futures/usdt/websocket/market/candlestickWebsocket.go index 841857d..8164ffb 100644 --- a/futures/usdt/websocket/market/candlestickWebsocket.go +++ b/futures/usdt/websocket/market/candlestickWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesCandlestickWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/candlestickWebsocket_test.go b/futures/usdt/websocket/market/candlestickWebsocket_test.go index 0a78143..2b8afe7 100644 --- a/futures/usdt/websocket/market/candlestickWebsocket_test.go +++ b/futures/usdt/websocket/market/candlestickWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/compositeIndexWebsocket.go b/futures/usdt/websocket/market/compositeIndexWebsocket.go index 04ee9a6..cb570a9 100644 --- a/futures/usdt/websocket/market/compositeIndexWebsocket.go +++ b/futures/usdt/websocket/market/compositeIndexWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesCompositeIndexWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/compositeIndexWebsocket_test.go b/futures/usdt/websocket/market/compositeIndexWebsocket_test.go index f4155a5..464f364 100644 --- a/futures/usdt/websocket/market/compositeIndexWebsocket_test.go +++ b/futures/usdt/websocket/market/compositeIndexWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/continuesCandlestickWebsocket.go b/futures/usdt/websocket/market/continuesCandlestickWebsocket.go index 7524039..ca15f68 100644 --- a/futures/usdt/websocket/market/continuesCandlestickWebsocket.go +++ b/futures/usdt/websocket/market/continuesCandlestickWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesContinuesCandlestickWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/continuesCandlestickWebsocket_test.go b/futures/usdt/websocket/market/continuesCandlestickWebsocket_test.go index 2b7b87b..dff24b8 100644 --- a/futures/usdt/websocket/market/continuesCandlestickWebsocket_test.go +++ b/futures/usdt/websocket/market/continuesCandlestickWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/diffBookDepthWebsocket.go b/futures/usdt/websocket/market/diffBookDepthWebsocket.go index ee46f12..a41d63d 100644 --- a/futures/usdt/websocket/market/diffBookDepthWebsocket.go +++ b/futures/usdt/websocket/market/diffBookDepthWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesDiffBookDepthWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/diffBookDepthWebsocket_test.go b/futures/usdt/websocket/market/diffBookDepthWebsocket_test.go index 897fec3..1425260 100644 --- a/futures/usdt/websocket/market/diffBookDepthWebsocket_test.go +++ b/futures/usdt/websocket/market/diffBookDepthWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/liquidationOrderWebsocket.go b/futures/usdt/websocket/market/liquidationOrderWebsocket.go index 55da110..917a160 100644 --- a/futures/usdt/websocket/market/liquidationOrderWebsocket.go +++ b/futures/usdt/websocket/market/liquidationOrderWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesLiquidationOrderWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/liquidationOrderWebsocket_test.go b/futures/usdt/websocket/market/liquidationOrderWebsocket_test.go index 4630f2b..d32f84c 100644 --- a/futures/usdt/websocket/market/liquidationOrderWebsocket_test.go +++ b/futures/usdt/websocket/market/liquidationOrderWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/marketPriceWebsocket.go b/futures/usdt/websocket/market/marketPriceWebsocket.go index a46546d..f49804d 100644 --- a/futures/usdt/websocket/market/marketPriceWebsocket.go +++ b/futures/usdt/websocket/market/marketPriceWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesMarketPriceWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/marketPriceWebsocket_test.go b/futures/usdt/websocket/market/marketPriceWebsocket_test.go index 5c7f34d..00313fe 100644 --- a/futures/usdt/websocket/market/marketPriceWebsocket_test.go +++ b/futures/usdt/websocket/market/marketPriceWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/partialBookDepthWebsocket.go b/futures/usdt/websocket/market/partialBookDepthWebsocket.go index 7811510..c411bbf 100644 --- a/futures/usdt/websocket/market/partialBookDepthWebsocket.go +++ b/futures/usdt/websocket/market/partialBookDepthWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesPartialBookDepthWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/partialBookDepthWebsocket_test.go b/futures/usdt/websocket/market/partialBookDepthWebsocket_test.go index 0516fd6..98e27b7 100644 --- a/futures/usdt/websocket/market/partialBookDepthWebsocket_test.go +++ b/futures/usdt/websocket/market/partialBookDepthWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/symbolBookTickerWebsocket.go b/futures/usdt/websocket/market/symbolBookTickerWebsocket.go index b147c3b..71372c1 100644 --- a/futures/usdt/websocket/market/symbolBookTickerWebsocket.go +++ b/futures/usdt/websocket/market/symbolBookTickerWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesSymbolBookTickerWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/symbolBookTickerWebsocket_test.go b/futures/usdt/websocket/market/symbolBookTickerWebsocket_test.go index b3595c4..cc2e14e 100644 --- a/futures/usdt/websocket/market/symbolBookTickerWebsocket_test.go +++ b/futures/usdt/websocket/market/symbolBookTickerWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/symbolMiniTickerWebsocket.go b/futures/usdt/websocket/market/symbolMiniTickerWebsocket.go index 4200c7c..b7cabd8 100644 --- a/futures/usdt/websocket/market/symbolMiniTickerWebsocket.go +++ b/futures/usdt/websocket/market/symbolMiniTickerWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesSymbolMiniTickerWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/symbolMiniTickerWebsocket_test.go b/futures/usdt/websocket/market/symbolMiniTickerWebsocket_test.go index d3bd687..689d7ff 100644 --- a/futures/usdt/websocket/market/symbolMiniTickerWebsocket_test.go +++ b/futures/usdt/websocket/market/symbolMiniTickerWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/futures/usdt/websocket/market/symbolTickerWebsocket.go b/futures/usdt/websocket/market/symbolTickerWebsocket.go index 67fcd5d..f901dd4 100644 --- a/futures/usdt/websocket/market/symbolTickerWebsocket.go +++ b/futures/usdt/websocket/market/symbolTickerWebsocket.go @@ -2,10 +2,10 @@ package futuresusdt import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // FuturesSymbolTickerWebsocketClient responsible to handle market price data from websocket diff --git a/futures/usdt/websocket/market/symbolTickerWebsocket_test.go b/futures/usdt/websocket/market/symbolTickerWebsocket_test.go index 40f1e23..6c7d58c 100644 --- a/futures/usdt/websocket/market/symbolTickerWebsocket_test.go +++ b/futures/usdt/websocket/market/symbolTickerWebsocket_test.go @@ -1,8 +1,8 @@ package futuresusdt import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/go.mod b/go.mod index cf61182..f3f2311 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dirname/Binance +module github.com/dirname/binance go 1.16 diff --git a/request.go b/request.go index 4fe095d..2f0c8d5 100644 --- a/request.go +++ b/request.go @@ -5,7 +5,7 @@ import ( "crypto/sha256" "encoding/hex" "fmt" - "github.com/dirname/Binance/logging" + "github.com/dirname/binance/logging" "io/ioutil" http "net/http" "time" diff --git a/request_test.go b/request_test.go index bcc12c8..d0d9e27 100644 --- a/request_test.go +++ b/request_test.go @@ -1,7 +1,7 @@ package binance import ( - "github.com/dirname/Binance/config" + "github.com/dirname/binance/config" "net/http" "reflect" "testing" diff --git a/spot/client/common.go b/spot/client/common.go index 713d1ea..b9815b6 100644 --- a/spot/client/common.go +++ b/spot/client/common.go @@ -2,9 +2,9 @@ package spotclient import ( "encoding/json" - binance "github.com/dirname/Binance" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "net/http" ) diff --git a/spot/client/common_test.go b/spot/client/common_test.go index 6c357b6..ad57eb6 100644 --- a/spot/client/common_test.go +++ b/spot/client/common_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" "reflect" "testing" "time" diff --git a/spot/client/market.go b/spot/client/market.go index 03441b7..fee7a4c 100644 --- a/spot/client/market.go +++ b/spot/client/market.go @@ -4,9 +4,9 @@ import ( "encoding/json" "errors" "fmt" - binance "github.com/dirname/Binance" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "net/http" ) diff --git a/spot/client/market_test.go b/spot/client/market_test.go index 611d891..25bb52b 100644 --- a/spot/client/market_test.go +++ b/spot/client/market_test.go @@ -1,7 +1,7 @@ package spotclient import ( - binance "github.com/dirname/Binance" + binance "github.com/dirname/binance" "reflect" "testing" ) diff --git a/spot/client/orderBuilder.go b/spot/client/orderBuilder.go index 1df1a14..7a961d0 100644 --- a/spot/client/orderBuilder.go +++ b/spot/client/orderBuilder.go @@ -3,7 +3,7 @@ package spotclient import ( "errors" "fmt" - "github.com/dirname/Binance/spot/client/orderType" + "github.com/dirname/binance/spot/client/orderType" "github.com/shopspring/decimal" "sort" "strings" diff --git a/spot/client/orderBuilder_test.go b/spot/client/orderBuilder_test.go index 3e72eec..123bfc0 100644 --- a/spot/client/orderBuilder_test.go +++ b/spot/client/orderBuilder_test.go @@ -1,9 +1,9 @@ package spotclient import ( - "github.com/dirname/Binance/spot/client/orderRespType" - "github.com/dirname/Binance/spot/client/orderSide" - "github.com/dirname/Binance/spot/client/orderType" + "github.com/dirname/binance/spot/client/orderRespType" + "github.com/dirname/binance/spot/client/orderSide" + "github.com/dirname/binance/spot/client/orderType" "github.com/shopspring/decimal" "testing" ) diff --git a/spot/client/trade.go b/spot/client/trade.go index 3185d2d..f6d4841 100644 --- a/spot/client/trade.go +++ b/spot/client/trade.go @@ -4,10 +4,10 @@ import ( "encoding/json" "errors" "fmt" - binance "github.com/dirname/Binance" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/client/orderRespType" + binance "github.com/dirname/binance" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/client/orderRespType" "github.com/shopspring/decimal" "net/http" "strings" diff --git a/spot/client/trade_test.go b/spot/client/trade_test.go index 18746f5..8d6442f 100644 --- a/spot/client/trade_test.go +++ b/spot/client/trade_test.go @@ -1,9 +1,9 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/spot/client/orderRespType" - "github.com/dirname/Binance/spot/client/orderType" + binance "github.com/dirname/binance" + "github.com/dirname/binance/spot/client/orderRespType" + "github.com/dirname/binance/spot/client/orderType" "github.com/shopspring/decimal" "reflect" "testing" diff --git a/spot/client/wallet.go b/spot/client/wallet.go index e3fa7ac..cbd39db 100644 --- a/spot/client/wallet.go +++ b/spot/client/wallet.go @@ -4,9 +4,9 @@ import ( "encoding/json" "errors" "fmt" - binance "github.com/dirname/Binance" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" "github.com/shopspring/decimal" "net/http" "time" diff --git a/spot/client/wallet_test.go b/spot/client/wallet_test.go index 94c02a5..e855503 100644 --- a/spot/client/wallet_test.go +++ b/spot/client/wallet_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" "github.com/shopspring/decimal" "reflect" "testing" diff --git a/spot/websocket/account/accountWebsocket.go b/spot/websocket/account/accountWebsocket.go index fb936dc..856abdf 100644 --- a/spot/websocket/account/accountWebsocket.go +++ b/spot/websocket/account/accountWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // AccountWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/account/accountWebsocket_test.go b/spot/websocket/account/accountWebsocket_test.go index b7022f3..e61548d 100644 --- a/spot/websocket/account/accountWebsocket_test.go +++ b/spot/websocket/account/accountWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/account/balanceWebsocket.go b/spot/websocket/account/balanceWebsocket.go index 408a88f..40fe8ed 100644 --- a/spot/websocket/account/balanceWebsocket.go +++ b/spot/websocket/account/balanceWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // BalanceWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/account/balanceWebsocket_test.go b/spot/websocket/account/balanceWebsocket_test.go index 7f74f89..8c04cbc 100644 --- a/spot/websocket/account/balanceWebsocket_test.go +++ b/spot/websocket/account/balanceWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/account/listenKey.go b/spot/websocket/account/listenKey.go index 2bdf470..896b91c 100644 --- a/spot/websocket/account/listenKey.go +++ b/spot/websocket/account/listenKey.go @@ -4,10 +4,10 @@ import ( "bytes" "encoding/json" "errors" - binance "github.com/dirname/Binance" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" - "github.com/dirname/Binance/spot/client" + binance "github.com/dirname/binance" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" + "github.com/dirname/binance/spot/client" "net/http" ) diff --git a/spot/websocket/account/listenKey_test.go b/spot/websocket/account/listenKey_test.go index 76df591..00b9e35 100644 --- a/spot/websocket/account/listenKey_test.go +++ b/spot/websocket/account/listenKey_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" "reflect" "testing" ) diff --git a/spot/websocket/account/orderWebsocket.go b/spot/websocket/account/orderWebsocket.go index 51eccfc..60fb13c 100644 --- a/spot/websocket/account/orderWebsocket.go +++ b/spot/websocket/account/orderWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // OrderWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/account/orderWebsocket_test.go b/spot/websocket/account/orderWebsocket_test.go index af8db5c..079cdb1 100644 --- a/spot/websocket/account/orderWebsocket_test.go +++ b/spot/websocket/account/orderWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/aggTradeWebsocket.go b/spot/websocket/market/aggTradeWebsocket.go index 1673902..b754cff 100644 --- a/spot/websocket/market/aggTradeWebsocket.go +++ b/spot/websocket/market/aggTradeWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotAggTradeWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/aggTradeWebsocket_test.go b/spot/websocket/market/aggTradeWebsocket_test.go index f613246..f5261d5 100644 --- a/spot/websocket/market/aggTradeWebsocket_test.go +++ b/spot/websocket/market/aggTradeWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/allBookTickerWebsocket.go b/spot/websocket/market/allBookTickerWebsocket.go index fb06344..bc084f2 100644 --- a/spot/websocket/market/allBookTickerWebsocket.go +++ b/spot/websocket/market/allBookTickerWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotAllBookTickerWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/allBookTickerWebsocket_test.go b/spot/websocket/market/allBookTickerWebsocket_test.go index b0a061d..1649dc4 100644 --- a/spot/websocket/market/allBookTickerWebsocket_test.go +++ b/spot/websocket/market/allBookTickerWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/allMarketMiniTickerWebsocket.go b/spot/websocket/market/allMarketMiniTickerWebsocket.go index 4259032..d1a0543 100644 --- a/spot/websocket/market/allMarketMiniTickerWebsocket.go +++ b/spot/websocket/market/allMarketMiniTickerWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotAllMarketMiniTickerWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/allMarketMiniTickerWebsocket_test.go b/spot/websocket/market/allMarketMiniTickerWebsocket_test.go index 383e27c..acb2aef 100644 --- a/spot/websocket/market/allMarketMiniTickerWebsocket_test.go +++ b/spot/websocket/market/allMarketMiniTickerWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/allMarketTickerWebsocket.go b/spot/websocket/market/allMarketTickerWebsocket.go index 69c5403..a657c5e 100644 --- a/spot/websocket/market/allMarketTickerWebsocket.go +++ b/spot/websocket/market/allMarketTickerWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotAllMarketTickerWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/allMarketTickerWebsocket_test.go b/spot/websocket/market/allMarketTickerWebsocket_test.go index 4297590..b41096e 100644 --- a/spot/websocket/market/allMarketTickerWebsocket_test.go +++ b/spot/websocket/market/allMarketTickerWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/candlestickWebsocket.go b/spot/websocket/market/candlestickWebsocket.go index 208254d..b6d3adc 100644 --- a/spot/websocket/market/candlestickWebsocket.go +++ b/spot/websocket/market/candlestickWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotCandlestickWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/candlestickWebsocket_test.go b/spot/websocket/market/candlestickWebsocket_test.go index a259d25..9654073 100644 --- a/spot/websocket/market/candlestickWebsocket_test.go +++ b/spot/websocket/market/candlestickWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/diffDepthWebsocket.go b/spot/websocket/market/diffDepthWebsocket.go index 584cce9..2870854 100644 --- a/spot/websocket/market/diffDepthWebsocket.go +++ b/spot/websocket/market/diffDepthWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotDiffDepthDepthWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/diffDepthWebsocket_test.go b/spot/websocket/market/diffDepthWebsocket_test.go index 9b468bb..eb2f946 100644 --- a/spot/websocket/market/diffDepthWebsocket_test.go +++ b/spot/websocket/market/diffDepthWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/partialBookDepthWebsocket.go b/spot/websocket/market/partialBookDepthWebsocket.go index f9cb4f6..6022382 100644 --- a/spot/websocket/market/partialBookDepthWebsocket.go +++ b/spot/websocket/market/partialBookDepthWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotPartialBookDepthWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/partialBookDepthWebsocket_test.go b/spot/websocket/market/partialBookDepthWebsocket_test.go index 99997e0..5814967 100644 --- a/spot/websocket/market/partialBookDepthWebsocket_test.go +++ b/spot/websocket/market/partialBookDepthWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/symbolBookTickerWebsocket.go b/spot/websocket/market/symbolBookTickerWebsocket.go index 313bd22..62ad561 100644 --- a/spot/websocket/market/symbolBookTickerWebsocket.go +++ b/spot/websocket/market/symbolBookTickerWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotSymbolBookTickerWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/symbolBookTickerWebsocket_test.go b/spot/websocket/market/symbolBookTickerWebsocket_test.go index 3156023..2c1123a 100644 --- a/spot/websocket/market/symbolBookTickerWebsocket_test.go +++ b/spot/websocket/market/symbolBookTickerWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/symbolMiniTickerWebsocket.go b/spot/websocket/market/symbolMiniTickerWebsocket.go index 24183e2..3f8380a 100644 --- a/spot/websocket/market/symbolMiniTickerWebsocket.go +++ b/spot/websocket/market/symbolMiniTickerWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotSymbolMiniTickerWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/symbolMiniTickerWebsocket_test.go b/spot/websocket/market/symbolMiniTickerWebsocket_test.go index b77cf88..5dbc60d 100644 --- a/spot/websocket/market/symbolMiniTickerWebsocket_test.go +++ b/spot/websocket/market/symbolMiniTickerWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/symbolTickerWebsocket.go b/spot/websocket/market/symbolTickerWebsocket.go index 6872d8c..8f0eb2a 100644 --- a/spot/websocket/market/symbolTickerWebsocket.go +++ b/spot/websocket/market/symbolTickerWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotSymbolTickerWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/symbolTickerWebsocket_test.go b/spot/websocket/market/symbolTickerWebsocket_test.go index eb8f3ec..35019be 100644 --- a/spot/websocket/market/symbolTickerWebsocket_test.go +++ b/spot/websocket/market/symbolTickerWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/spot/websocket/market/tradeWebsocket.go b/spot/websocket/market/tradeWebsocket.go index 03eedc4..872de6d 100644 --- a/spot/websocket/market/tradeWebsocket.go +++ b/spot/websocket/market/tradeWebsocket.go @@ -2,10 +2,10 @@ package spotclient import ( "encoding/json" - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" + "github.com/dirname/binance/model" ) // SpotTradeWebsocketClient responsible to handle market price data from websocket diff --git a/spot/websocket/market/tradeWebsocket_test.go b/spot/websocket/market/tradeWebsocket_test.go index 635d73e..b38c67f 100644 --- a/spot/websocket/market/tradeWebsocket_test.go +++ b/spot/websocket/market/tradeWebsocket_test.go @@ -1,8 +1,8 @@ package spotclient import ( - binance "github.com/dirname/Binance" - "github.com/dirname/Binance/model" + binance "github.com/dirname/binance" + "github.com/dirname/binance/model" "reflect" "testing" ) diff --git a/websocket.go b/websocket.go index 913a6a1..cd15e29 100644 --- a/websocket.go +++ b/websocket.go @@ -3,8 +3,8 @@ package binance import ( "bytes" "fmt" - "github.com/dirname/Binance/config" - logger "github.com/dirname/Binance/logging" + "github.com/dirname/binance/config" + logger "github.com/dirname/binance/logging" "github.com/gorilla/websocket" "sync" "time" diff --git a/websocket_test.go b/websocket_test.go index 2aba3b3..0f34b4e 100644 --- a/websocket_test.go +++ b/websocket_test.go @@ -1,7 +1,7 @@ package binance import ( - "github.com/dirname/Binance/config" + "github.com/dirname/binance/config" "github.com/gorilla/websocket" "sync" "testing"