Skip to content

Commit

Permalink
change eoptions as options in v2/client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
xyq-c-cpp committed Jun 20, 2024
1 parent 28bf1e8 commit bbe8fe8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions v2/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit bbe8fe8

Please sign in to comment.