Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion clients/algo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.0.0 - 2025-12-15
### Changelog

## 1.0.0 - 2025-12-16

- Initial release
4 changes: 2 additions & 2 deletions clients/algo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This is a client library for the Binance Algo API, enabling developers to intera

## Installation

To use this library, ensure you have Go installed (version **1.22** or higher is recommended). You can install the library using the following command:
To use this library, ensure you have Go installed (version **1.24** or higher is recommended). You can install the library using the following command:

```bash
go get github.com/binance/binance-connector-go/clients/algo
Expand All @@ -51,7 +51,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
2 changes: 1 addition & 1 deletion clients/algo/src/algo.go → clients/algo/algo.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package binanceAlgo
package algo

import (
BinanceAlgoRestApi "github.com/binance/binance-connector-go/clients/algo/src/restapi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
4 changes: 2 additions & 2 deletions clients/algo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/binance/binance-connector-go/clients/algo

go 1.24.0

toolchain go1.24.10
toolchain go1.24.11

require (
github.com/binance/binance-connector-go/common v1.0.0
Expand All @@ -16,7 +16,7 @@ require (
github.com/gorilla/websocket v1.5.3 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
golang.org/x/crypto v0.44.0 // indirect
golang.org/x/crypto v0.46.0 // indirect
golang.org/x/net v0.47.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
6 changes: 4 additions & 2 deletions clients/algo/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ=
github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY=
github.com/binance/binance-connector-go/common v1.0.0 h1:F8sx0psPm1UUurH6aNHKsl78LUFHp1a9dNh34r9OQIg=
github.com/binance/binance-connector-go/common v1.0.0/go.mod h1:TKCzjT52KkAu2xi1P7pPNkjADska091govuQ21X9amM=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
Expand All @@ -19,8 +21,8 @@ github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZ
github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E=
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 h1:ilQV1hzziu+LLM3zUTJ0trRztfwgjqKnBWNtSRkbmwM=
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78/go.mod h1:aL8wCCfTfSfmXjznFBSZNN13rSJjlIOI1fUNAtF7rmI=
golang.org/x/crypto v0.44.0 h1:A97SsFvM3AIwEEmTBiaxPPTYpDC47w720rdiiUvgoAU=
golang.org/x/crypto v0.44.0/go.mod h1:013i+Nw79BMiQiMsOPcVCB5ZIJbYkerPrGnOa00tvmc=
golang.org/x/crypto v0.46.0 h1:cKRW/pmt1pKAfetfu+RCEvjvZkA9RimPbh7bhFjGVBU=
golang.org/x/crypto v0.46.0/go.mod h1:Evb/oLKmMraqjZ2iQTwDwvCtJkczlDuTmdJXoZVzqU0=
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
2 changes: 1 addition & 1 deletion clients/algo/tests/unit/restapi/api_future_algo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"reflect"
"testing"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/clients/algo/src/restapi/models"
"github.com/binance/binance-connector-go/common/common"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion clients/algo/tests/unit/restapi/api_spot_algo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"reflect"
"testing"

client "github.com/binance/binance-connector-go/clients/algo/src"
client "github.com/binance/binance-connector-go/clients/algo"
"github.com/binance/binance-connector-go/clients/algo/src/restapi/models"
"github.com/binance/binance-connector-go/common/common"
"github.com/stretchr/testify/require"
Expand Down
4 changes: 3 additions & 1 deletion clients/c2c/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.0.0 - 2025-12-15
### Changelog

## 1.0.0 - 2025-12-16

- Initial release
2 changes: 1 addition & 1 deletion clients/c2c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This is a client library for the Binance C2C API, enabling developers to interac

## Installation

To use this library, ensure you have Go installed (version **1.22** or higher is recommended). You can install the library using the following command:
To use this library, ensure you have Go installed (version **1.24** or higher is recommended). You can install the library using the following command:

```bash
go get github.com/binance/binance-connector-go/clients/c2c
Expand Down
2 changes: 1 addition & 1 deletion clients/c2c/src/c2c.go → clients/c2c/c2c.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package binanceC2C
package c2c

import (
BinanceC2CRestApi "github.com/binance/binance-connector-go/clients/c2c/src/restapi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/c2c/src"
client "github.com/binance/binance-connector-go/clients/c2c"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
4 changes: 2 additions & 2 deletions clients/c2c/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/binance/binance-connector-go/clients/c2c

go 1.24.0

toolchain go1.24.10
toolchain go1.24.11

require (
github.com/binance/binance-connector-go/common v1.0.0
Expand All @@ -16,7 +16,7 @@ require (
github.com/gorilla/websocket v1.5.3 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
golang.org/x/crypto v0.44.0 // indirect
golang.org/x/crypto v0.46.0 // indirect
golang.org/x/net v0.47.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
6 changes: 4 additions & 2 deletions clients/c2c/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ=
github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY=
github.com/binance/binance-connector-go/common v1.0.0 h1:F8sx0psPm1UUurH6aNHKsl78LUFHp1a9dNh34r9OQIg=
github.com/binance/binance-connector-go/common v1.0.0/go.mod h1:TKCzjT52KkAu2xi1P7pPNkjADska091govuQ21X9amM=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
Expand All @@ -19,8 +21,8 @@ github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZ
github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E=
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 h1:ilQV1hzziu+LLM3zUTJ0trRztfwgjqKnBWNtSRkbmwM=
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78/go.mod h1:aL8wCCfTfSfmXjznFBSZNN13rSJjlIOI1fUNAtF7rmI=
golang.org/x/crypto v0.44.0 h1:A97SsFvM3AIwEEmTBiaxPPTYpDC47w720rdiiUvgoAU=
golang.org/x/crypto v0.44.0/go.mod h1:013i+Nw79BMiQiMsOPcVCB5ZIJbYkerPrGnOa00tvmc=
golang.org/x/crypto v0.46.0 h1:cKRW/pmt1pKAfetfu+RCEvjvZkA9RimPbh7bhFjGVBU=
golang.org/x/crypto v0.46.0/go.mod h1:Evb/oLKmMraqjZ2iQTwDwvCtJkczlDuTmdJXoZVzqU0=
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
2 changes: 1 addition & 1 deletion clients/c2c/tests/unit/restapi/api_c2_c_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"reflect"
"testing"

client "github.com/binance/binance-connector-go/clients/c2c/src"
client "github.com/binance/binance-connector-go/clients/c2c"
"github.com/binance/binance-connector-go/clients/c2c/src/restapi/models"
"github.com/binance/binance-connector-go/common/common"
"github.com/stretchr/testify/require"
Expand Down
4 changes: 3 additions & 1 deletion clients/convert/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.0.0 - 2025-12-15
### Changelog

## 1.0.0 - 2025-12-16

- Initial release
4 changes: 2 additions & 2 deletions clients/convert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This is a client library for the Binance Convert API, enabling developers to int

## Installation

To use this library, ensure you have Go installed (version **1.22** or higher is recommended). You can install the library using the following command:
To use this library, ensure you have Go installed (version **1.24** or higher is recommended). You can install the library using the following command:

```bash
go get github.com/binance/binance-connector-go/clients/convert
Expand All @@ -51,7 +51,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package binanceConvert
package convert

import (
BinanceConvertRestApi "github.com/binance/binance-connector-go/clients/convert/src/restapi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"log"

client "github.com/binance/binance-connector-go/clients/convert/src"
client "github.com/binance/binance-connector-go/clients/convert"
"github.com/binance/binance-connector-go/common/common"
)

Expand Down
4 changes: 2 additions & 2 deletions clients/convert/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/binance/binance-connector-go/clients/convert

go 1.24.0

toolchain go1.24.10
toolchain go1.24.11

require (
github.com/binance/binance-connector-go/common v1.0.0
Expand All @@ -16,7 +16,7 @@ require (
github.com/gorilla/websocket v1.5.3 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
golang.org/x/crypto v0.44.0 // indirect
golang.org/x/crypto v0.46.0 // indirect
golang.org/x/net v0.47.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading