From 92aeeb3bd3b68ed01847334a0ce121a1e0d53d89 Mon Sep 17 00:00:00 2001 From: linstohu Date: Tue, 26 Dec 2023 01:00:23 +0800 Subject: [PATCH] feat: rename some binance packages --- binance/coinmfutures/utils/client.go | 2 +- binance/coinmfutures/utils/vars.go | 2 +- binance/europeanoptions/utils/client.go | 2 +- binance/europeanoptions/utils/vars.go | 2 +- binance/portfoliomargin/rest/client.go | 2 +- binance/portfoliomargin/rest/client_test.go | 2 +- binance/portfoliomargin/utils/client.go | 2 +- binance/portfoliomargin/utils/vars.go | 2 +- binance/spot/utils/client.go | 2 +- binance/spot/utils/vars.go | 2 +- binance/usdmfutures/utils/client.go | 2 +- binance/usdmfutures/utils/vars.go | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/binance/coinmfutures/utils/client.go b/binance/coinmfutures/utils/client.go index 49e36d0..d7683c2 100644 --- a/binance/coinmfutures/utils/client.go +++ b/binance/coinmfutures/utils/client.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package cmutils +package utils import ( "bytes" diff --git a/binance/coinmfutures/utils/vars.go b/binance/coinmfutures/utils/vars.go index 87e0b79..6c5e4b2 100644 --- a/binance/coinmfutures/utils/vars.go +++ b/binance/coinmfutures/utils/vars.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package cmutils +package utils var ( CoinMarginedBaseURL = "https://dapi.binance.com" diff --git a/binance/europeanoptions/utils/client.go b/binance/europeanoptions/utils/client.go index 3cfaa62..a9ac951 100644 --- a/binance/europeanoptions/utils/client.go +++ b/binance/europeanoptions/utils/client.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package eoutils +package utils import ( "bytes" diff --git a/binance/europeanoptions/utils/vars.go b/binance/europeanoptions/utils/vars.go index 95a6c3d..2a12783 100644 --- a/binance/europeanoptions/utils/vars.go +++ b/binance/europeanoptions/utils/vars.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package eoutils +package utils var ( OptionsBaseURL = "https://eapi.binance.com" diff --git a/binance/portfoliomargin/rest/client.go b/binance/portfoliomargin/rest/client.go index 53f390a..80f8190 100644 --- a/binance/portfoliomargin/rest/client.go +++ b/binance/portfoliomargin/rest/client.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package pmrest +package rest import ( "context" diff --git a/binance/portfoliomargin/rest/client_test.go b/binance/portfoliomargin/rest/client_test.go index 8d382d7..357c84c 100644 --- a/binance/portfoliomargin/rest/client_test.go +++ b/binance/portfoliomargin/rest/client_test.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package pmrest +package rest import ( "context" diff --git a/binance/portfoliomargin/utils/client.go b/binance/portfoliomargin/utils/client.go index 9dd50f2..a2fd3ed 100644 --- a/binance/portfoliomargin/utils/client.go +++ b/binance/portfoliomargin/utils/client.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package cmutils +package utils import ( "bytes" diff --git a/binance/portfoliomargin/utils/vars.go b/binance/portfoliomargin/utils/vars.go index 33d06d4..f9ba746 100644 --- a/binance/portfoliomargin/utils/vars.go +++ b/binance/portfoliomargin/utils/vars.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package cmutils +package utils var ( PortfolioMarginBaseURL = "https://papi.binance.com" diff --git a/binance/spot/utils/client.go b/binance/spot/utils/client.go index 90a6d94..ce86607 100644 --- a/binance/spot/utils/client.go +++ b/binance/spot/utils/client.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package spotutils +package utils import ( "context" diff --git a/binance/spot/utils/vars.go b/binance/spot/utils/vars.go index d3eeacd..f071775 100644 --- a/binance/spot/utils/vars.go +++ b/binance/spot/utils/vars.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package spotutils +package utils var ( BaseURL = "https://api.binance.com" diff --git a/binance/usdmfutures/utils/client.go b/binance/usdmfutures/utils/client.go index c868df0..e9cee5e 100644 --- a/binance/usdmfutures/utils/client.go +++ b/binance/usdmfutures/utils/client.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package umutils +package utils import ( "bytes" diff --git a/binance/usdmfutures/utils/vars.go b/binance/usdmfutures/utils/vars.go index 7caab17..586c711 100644 --- a/binance/usdmfutures/utils/vars.go +++ b/binance/usdmfutures/utils/vars.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package umutils +package utils var ( USDMarginedBaseURL = "https://fapi.binance.com"