From bbe8fe819590afc779bbc5711df817b2bc4ee5ba Mon Sep 17 00:00:00 2001 From: xieyongqi <657023321@qq.com> Date: Thu, 20 Jun 2024 10:16:43 +0800 Subject: [PATCH] change eoptions as options in v2/client.go --- v2/client.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v2/client.go b/v2/client.go index 01d6b19f..582c5cd5 100644 --- a/v2/client.go +++ b/v2/client.go @@ -19,7 +19,7 @@ import ( "github.com/adshao/go-binance/v2/common" "github.com/adshao/go-binance/v2/delivery" - "github.com/adshao/go-binance/v2/eoptions" + "github.com/adshao/go-binance/v2/options" "github.com/adshao/go-binance/v2/futures" ) @@ -362,9 +362,9 @@ func NewDeliveryClient(apiKey, secretKey string) *delivery.Client { return delivery.NewClient(apiKey, secretKey) } -// NewOptionsClient initialize client for eoptions API -func NewOptionsClient(apiKey, secretKey string) *eoptions.Client { - return eoptions.NewClient(apiKey, secretKey) +// NewOptionsClient initialize client for options API +func NewOptionsClient(apiKey, secretKey string) *options.Client { + return options.NewClient(apiKey, secretKey) } type doFunc func(req *http.Request) (*http.Response, error)