jonwho / go-iex

IEX Cloud API client in Go
MIT License
6 stars 3 forks source link

Go mod not setup for v2 #12

Closed someone1 closed 4 years ago

someone1 commented 4 years ago

The repository is tagged with v2 versions but go mod doesn't reflect this. Pulling for v2 of this package responds with an error:

$ go get github.com/jonwho/go-iex/v2
go: finding github.com/jonwho/go-iex/v2 v2.6.0
go: github.com/jonwho/go-iex/v2@v2.6.0: go.mod has non-.../v2 module path "github.com/jonwho/go-iex" (and .../v2/go.mod does not exist) at revision v2.6.0
go: error loading module requirements

Also, is go1.13 a strict requirement for this package? Would dropping to go1.11 be ok? Some deployments such as Google Cloud Functions for Go only support up to 1.11.6, and AppEngine only supports 1.11 and 1.12.

jonwho commented 4 years ago

Hey thanks for reporting that!

I've dropped the requirement to 1.11 and updated v2 support.