Skip to content

Commit 96ca4ab

Browse files
committed
remove cache v2/vendor and update READMD.md
1 parent a7c7899 commit 96ca4ab

File tree

194 files changed

+15
-44258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+15
-44258
lines changed

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ Name | Description | Status
2121
[web-socket-streams.md](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md) | Details on available streams and payloads | <input type="checkbox" checked> Implemented
2222
[user-data-stream.md](https://github.com/binance/binance-spot-api-docs/blob/master/user-data-stream.md) | Details on the dedicated account stream | <input type="checkbox" checked> Implemented
2323
[margin-api.md](https://binance-docs.github.io/apidocs/spot/en) | Details on the Margin API (/sapi) | <input type="checkbox" checked> Implemented
24-
[futures-api.md](https://binance-docs.github.io/apidocs/futures/en/#general-info) | Details on the Futures API (/fapi) | <input type="checkbox" checked> Partially Implemented
25-
[delivery-api.md](https://binance-docs.github.io/apidocs/delivery/en/#general-info) | Details on the Coin-M Futures API (/dapi) | <input type="checkbox" checked> Partially Implemented
26-
[eoptions-api.md](https://binance-docs.github.io/apidocs/voptions/en/#general-info) | Detains on the European Options API(/eapi) | <input type="checkbox" checked> Implemented
24+
[futures-api.md](https://binance-docs.github.io/apidocs/futures/en/#general-info) | Details on the Futures API (/fapi) | <input type="checkbox" checked> Implemented
25+
[delivery-api.md](https://binance-docs.github.io/apidocs/delivery/en/#general-info) | Details on the Coin-M Futures API (/dapi) | <input type="checkbox" checked> Implemented
26+
[eoptions-api.md](https://binance-docs.github.io/apidocs/voptions/en/#general-info) | Detains on the European Options API(/eapi) | <input type="checkbox" checked> Implemented
27+
28+
29+
Found an unimplemented interface, please submit a issue.
2730

2831
### Installation
2932

@@ -41,7 +44,12 @@ go get github.com/adshao/go-binance/v1
4144

4245
```golang
4346
import (
47+
// for spot and other interface contained in https://binance-docs.github.io/apidocs/spot/en/#change-log
4448
"github.com/adshao/go-binance/v2"
49+
50+
"github.com/adshao/go-binance/v2/futures" // optional package
51+
"github.com/adshao/go-binance/v2/delivery" // optional package
52+
"github.com/adshao/go-binance/v2/eoptions" // optional package
4553
)
4654
```
4755

v2/client.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919

2020
"github.com/adshao/go-binance/v2/common"
2121
"github.com/adshao/go-binance/v2/delivery"
22-
"github.com/adshao/go-binance/v2/futures"
2322
"github.com/adshao/go-binance/v2/eoptions"
23+
"github.com/adshao/go-binance/v2/futures"
2424
)
2525

2626
// SideType define side type of order
@@ -389,7 +389,7 @@ func (c *Client) debug(format string, v ...interface{}) {
389389
}
390390

391391
func (c *Client) parseRequest(r *request, opts ...RequestOption) (err error) {
392-
// set request eoptions from user
392+
// set request options from user
393393
for _, opt := range opts {
394394
opt(r)
395395
}

v2/delivery/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func (c *Client) debug(format string, v ...interface{}) {
219219
}
220220

221221
func (c *Client) parseRequest(r *request, opts ...RequestOption) (err error) {
222-
// set request eoptions from user
222+
// set request options from user
223223
for _, opt := range opts {
224224
opt(r)
225225
}

v2/futures/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func (c *Client) debug(format string, v ...interface{}) {
256256
}
257257

258258
func (c *Client) parseRequest(r *request, opts ...RequestOption) (err error) {
259-
// set request eoptions from user
259+
// set request options from user
260260
for _, opt := range opts {
261261
opt(r)
262262
}

v2/vendor/github.com/bitly/go-simplejson/.travis.yml

-10
This file was deleted.

v2/vendor/github.com/bitly/go-simplejson/LICENSE

-17
This file was deleted.

v2/vendor/github.com/bitly/go-simplejson/README.md

-13
This file was deleted.

0 commit comments

Comments
 (0)