Skip to content

Commit d145aab

Browse files
deps: upgrade binance lib (#389)
Co-authored-by: Rodrigo Brito <[email protected]>
1 parent 9778689 commit d145aab

File tree

6 files changed

+54
-35
lines changed

6 files changed

+54
-35
lines changed

exchange/binance.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,14 +251,24 @@ func (b *Binance) CreateOrderStop(pair string, quantity float64, limit float64)
251251

252252
func (b *Binance) formatPrice(pair string, value float64) string {
253253
if info, ok := b.assetsInfo[pair]; ok {
254-
value = common.AmountToLotSize(info.TickSize, info.QuotePrecision, value)
254+
return common.AmountToLotSize(
255+
strconv.FormatFloat(value, 'f', -1, 64),
256+
strconv.FormatFloat(info.MinPrice, 'f', -1, 64),
257+
strconv.FormatFloat(info.TickSize, 'f', -1, 64),
258+
info.QuotePrecision,
259+
)
255260
}
256261
return strconv.FormatFloat(value, 'f', -1, 64)
257262
}
258263

259264
func (b *Binance) formatQuantity(pair string, value float64) string {
260265
if info, ok := b.assetsInfo[pair]; ok {
261-
value = common.AmountToLotSize(info.StepSize, info.BaseAssetPrecision, value)
266+
return common.AmountToLotSize(
267+
strconv.FormatFloat(value, 'f', -1, 64),
268+
strconv.FormatFloat(info.MinQuantity, 'f', -1, 64),
269+
strconv.FormatFloat(info.StepSize, 'f', -1, 64),
270+
info.BaseAssetPrecision,
271+
)
262272
}
263273
return strconv.FormatFloat(value, 'f', -1, 64)
264274
}

exchange/binance_future.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,24 @@ func (b *BinanceFuture) CreateOrderStop(pair string, quantity float64, limit flo
208208

209209
func (b *BinanceFuture) formatPrice(pair string, value float64) string {
210210
if info, ok := b.assetsInfo[pair]; ok {
211-
value = common.AmountToLotSize(info.TickSize, info.QuotePrecision, value)
211+
return common.AmountToLotSize(
212+
strconv.FormatFloat(value, 'f', -1, 64),
213+
strconv.FormatFloat(info.MinPrice, 'f', -1, 64),
214+
strconv.FormatFloat(info.TickSize, 'f', -1, 64),
215+
info.QuotePrecision,
216+
)
212217
}
213218
return strconv.FormatFloat(value, 'f', -1, 64)
214219
}
215220

216221
func (b *BinanceFuture) formatQuantity(pair string, value float64) string {
217222
if info, ok := b.assetsInfo[pair]; ok {
218-
value = common.AmountToLotSize(info.StepSize, info.BaseAssetPrecision, value)
223+
return common.AmountToLotSize(
224+
strconv.FormatFloat(value, 'f', -1, 64),
225+
strconv.FormatFloat(info.MinQuantity, 'f', -1, 64),
226+
strconv.FormatFloat(info.StepSize, 'f', -1, 64),
227+
info.BaseAssetPrecision,
228+
)
219229
}
220230
return strconv.FormatFloat(value, 'f', -1, 64)
221231
}

exchange/binance_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"testing"
66

7-
"github.com/stretchr/testify/require"
7+
"github.com/stretchr/testify/assert"
88

99
"github.com/rodrigo-brito/ninjabot/model"
1010
)
@@ -46,8 +46,8 @@ func TestFormatQuantity(t *testing.T) {
4646

4747
for _, tc := range tt {
4848
t.Run(fmt.Sprintf("given %f %s", tc.quantity, tc.pair), func(t *testing.T) {
49-
require.Equal(t, tc.expected, binance.formatQuantity(tc.pair, tc.quantity))
50-
require.Equal(t, tc.expected, binance.formatPrice(tc.pair, tc.quantity))
49+
assert.Equal(t, tc.expected, binance.formatQuantity(tc.pair, tc.quantity))
50+
assert.Equal(t, tc.expected, binance.formatPrice(tc.pair, tc.quantity))
5151
})
5252
}
5353
}

exchange/paperwallet.go

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"errors"
66
"fmt"
77
"math"
8+
"strconv"
89
"strings"
910
"sync"
1011
"time"
@@ -722,8 +723,15 @@ func (p *PaperWallet) CreateOrderMarketQuote(side model.SideType, pair string,
722723
defer p.Unlock()
723724

724725
info := p.AssetsInfo(pair)
725-
quantity := common.AmountToLotSize(info.StepSize, info.BaseAssetPrecision, quoteQuantity/p.lastCandle[pair].Close)
726-
return p.createOrderMarket(side, pair, quantity)
726+
amountStr := strconv.FormatFloat(quoteQuantity/p.lastCandle[pair].Close, 'f', -1, 64)
727+
minQuantityStr := strconv.FormatFloat(info.MinQuantity, 'f', -1, 64)
728+
stepSizeStr := strconv.FormatFloat(info.StepSize, 'f', -1, 64)
729+
quantity := common.AmountToLotSize(amountStr, minQuantityStr, stepSizeStr, info.BaseAssetPrecision)
730+
quantityFloat, err := strconv.ParseFloat(quantity, 64)
731+
if err != nil {
732+
return model.Order{}, err
733+
}
734+
return p.createOrderMarket(side, pair, quantityFloat)
727735
}
728736

729737
func (p *PaperWallet) Cancel(order model.Order) error {

go.mod

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ toolchain go1.24.3
66

77
require (
88
github.com/StudioSol/set v1.0.0
9-
github.com/adshao/go-binance/v2 v2.6.1
9+
github.com/adshao/go-binance/v2 v2.8.6
1010
github.com/aybabtme/uniplot v0.0.0-20151203143629-039c559e5e7e
1111
github.com/evanw/esbuild v0.25.10
1212
github.com/glebarez/sqlite v1.11.0
@@ -28,39 +28,37 @@ require (
2828
)
2929

3030
require (
31-
github.com/bitly/go-simplejson v0.5.0 // indirect
31+
github.com/bitly/go-simplejson v0.5.1 // indirect
3232
github.com/chigopher/pathlib v0.15.0 // indirect
3333
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
3434
github.com/davecgh/go-spew v1.1.1 // indirect
3535
github.com/dustin/go-humanize v1.0.1 // indirect
3636
github.com/fsnotify/fsnotify v1.6.0 // indirect
3737
github.com/glebarez/go-sqlite v1.21.2 // indirect
38-
github.com/google/uuid v1.3.0 // indirect
39-
github.com/gorilla/websocket v1.5.0 // indirect
38+
github.com/google/uuid v1.6.0 // indirect
39+
github.com/gorilla/websocket v1.5.3 // indirect
4040
github.com/hashicorp/hcl v1.0.0 // indirect
4141
github.com/huandu/xstrings v1.4.0 // indirect
4242
github.com/iancoleman/strcase v0.2.0 // indirect
4343
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4444
github.com/jinzhu/copier v0.3.5 // indirect
4545
github.com/jinzhu/inflection v1.0.0 // indirect
4646
github.com/jinzhu/now v1.1.5 // indirect
47-
github.com/json-iterator/go v1.1.12 // indirect
4847
github.com/magiconair/properties v1.8.7 // indirect
4948
github.com/mattn/go-colorable v0.1.13 // indirect
5049
github.com/mattn/go-isatty v0.0.20 // indirect
5150
github.com/mattn/go-runewidth v0.0.16 // indirect
5251
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
5352
github.com/mitchellh/go-homedir v1.1.0 // indirect
5453
github.com/mitchellh/mapstructure v1.5.0 // indirect
55-
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
56-
github.com/modern-go/reflect2 v1.0.2 // indirect
5754
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
5855
github.com/pkg/errors v0.9.1 // indirect
5956
github.com/pmezard/go-difflib v1.0.0 // indirect
6057
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
6158
github.com/rivo/uniseg v0.4.7 // indirect
6259
github.com/rs/zerolog v1.29.0 // indirect
6360
github.com/russross/blackfriday/v2 v2.1.0 // indirect
61+
github.com/shopspring/decimal v1.4.0 // indirect
6462
github.com/spf13/afero v1.9.3 // indirect
6563
github.com/spf13/cast v1.5.0 // indirect
6664
github.com/spf13/cobra v1.6.1 // indirect

go.sum

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,12 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
4040
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
4141
github.com/StudioSol/set v1.0.0 h1:G27J71la+Da08WidabBkoRrvPLTa4cdCn0RjvyJ5WKQ=
4242
github.com/StudioSol/set v1.0.0/go.mod h1:hIUNZPo6rEGF43RlPXHq7Fjmf+HkVJBqAjtK7Z9LoIU=
43-
github.com/adshao/go-binance/v2 v2.6.1 h1:LokeECDwR3g7DqafWa58RLc+fPaFHaQ31JQN92pAiHg=
44-
github.com/adshao/go-binance/v2 v2.6.1/go.mod h1:41Up2dG4NfMXpCldrDPETEtiOq+pHoGsFZ73xGgaumo=
43+
github.com/adshao/go-binance/v2 v2.8.6 h1:IUZ6Wo0XSbcr4zIH45fRpX5DC4CsemrG7CDvgrNY/Yw=
44+
github.com/adshao/go-binance/v2 v2.8.6/go.mod h1:XkkuecSyJKPolaCGf/q4ovJYB3t0P+7RUYTbGr+LMGM=
4545
github.com/aybabtme/uniplot v0.0.0-20151203143629-039c559e5e7e h1:dSeuFcs4WAJJnswS8vXy7YY1+fdlbVPuEVmDAfqvFOQ=
4646
github.com/aybabtme/uniplot v0.0.0-20151203143629-039c559e5e7e/go.mod h1:uh71c5Vc3VNIplXOFXsnDy21T1BepgT32c5X/YPrOyc=
47-
github.com/bitly/go-simplejson v0.5.0 h1:6IH+V8/tVMab511d5bn4M7EwGXZf9Hj6i2xSwkNEM+Y=
48-
github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA=
49-
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY=
50-
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4=
47+
github.com/bitly/go-simplejson v0.5.1 h1:xgwPbetQScXt1gh9BmoJ6j9JMr3TElvuIyjR8pgdoow=
48+
github.com/bitly/go-simplejson v0.5.1/go.mod h1:YOPVLzCfwK14b4Sff3oP1AmGhI9T9Vsg84etUnlyp+Q=
5149
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
5250
github.com/chengxilo/virtualterm v1.0.4 h1:Z6IpERbRVlfB8WkOmtbHiDbBANU7cimRIof7mk9/PwM=
5351
github.com/chengxilo/virtualterm v1.0.4/go.mod h1:DyxxBZz/x1iqJjFxTFcr6/x+jSpqN0iwWCOK1q10rlY=
@@ -100,6 +98,8 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt
10098
github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
10199
github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
102100
github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
101+
github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=
102+
github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
103103
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
104104
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
105105
github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
@@ -127,7 +127,6 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
127127
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
128128
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
129129
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
130-
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
131130
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
132131
github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
133132
github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
@@ -145,13 +144,13 @@ github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26 h1:Xim43kblpZXfIBQsbu
145144
github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26/go.mod h1:dDKJzRmX4S37WGHujM7tX//fmj1uioxKzKxz3lo4HJo=
146145
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
147146
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
148-
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
149-
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
147+
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
148+
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
150149
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
151150
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
152151
github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g=
153-
github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
154-
github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
152+
github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
153+
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
155154
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
156155
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
157156
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
@@ -173,8 +172,6 @@ github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ=
173172
github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8=
174173
github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA=
175174
github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
176-
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
177-
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
178175
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
179176
github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
180177
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
@@ -206,11 +203,6 @@ github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG
206203
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
207204
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
208205
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
209-
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
210-
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
211-
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
212-
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
213-
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
214206
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
215207
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
216208
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
@@ -242,6 +234,8 @@ github.com/samber/lo v1.47.0 h1:z7RynLwP5nbyRscyvcD043DWYoOcYRv3mV8lBeqOCLc=
242234
github.com/samber/lo v1.47.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU=
243235
github.com/schollz/progressbar/v3 v3.18.0 h1:uXdoHABRFmNIjUfte/Ex7WtuyVslrw2wVPQmCN62HpA=
244236
github.com/schollz/progressbar/v3 v3.18.0/go.mod h1:IsO3lpbaGuzh8zIMzgY3+J8l4C8GjO0Y9S69eFvNsec=
237+
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=
238+
github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME=
245239
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
246240
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
247241
github.com/spf13/afero v1.9.3 h1:41FoI0fD7OR7mGcKE/aOiLkGreyf8ifIOQmJANWogMk=
@@ -262,7 +256,6 @@ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpE
262256
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
263257
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
264258
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
265-
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
266259
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
267260
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
268261
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=

0 commit comments

Comments
 (0)