eAndrius / BitfinexLendingBot

BitfinexLendingBot - A bot for automated lending at Bitfinex
Other
161 stars 60 forks source link

Go >= 1.3 required #8

Closed ghost closed 8 years ago

ghost commented 8 years ago

With go 1.2, the bitfinex-go dependency will not compile:

# github.com/eAndrius/bitfinex-go
../gocode/src/github.com/eAndrius/bitfinex-go/bitfinex.go:539: unknown http.Client field 'Timeout' in struct literal
../gocode/src/github.com/eAndrius/bitfinex-go/bitfinex.go:578: unknown http.Client field 'Timeout' in struct literal

I found out that http.Client Timeout was added in Go 1.3.

After I updated to go 1.6, the compilation succeeds.