Re: [go-nuts] [ANN] go-resty v2.1.0 released - Simple HTTP and REST client library

2019-10-11 Thread Jeevanandam M.
Thank you Sam for responding to the query. @Dimas - You could use Resty library via go mod as well as without it. If you would like to use Resty v2, it is exists on master so simple do "go get github.com/go-resty/resty". You will get v2 code base. If you would like to use it with go mod, you ne

Re: [go-nuts] [ANN] go-resty v2.1.0 released - Simple HTTP and REST client library

2019-10-11 Thread Dimas Prawira
Thanks, I'll check it out. Cheers Dimas On Sat, Oct 12, 2019 at 4:32 AM Sam Whited wrote: > On Fri, Oct 11, 2019, at 21:24, Dimas Prawira wrote: > > Just test using got get > > You appear to be using an old version of Go that doesn't support modules > or have it turned off or set to auto using

Re: [go-nuts] [ANN] go-resty v2.1.0 released - Simple HTTP and REST client library

2019-10-11 Thread Sam Whited
On Fri, Oct 11, 2019, at 21:24, Dimas Prawira wrote: > Just test using got get You appear to be using an old version of Go that doesn't support modules or have it turned off or set to auto using the GO111MODULE environment variable. If you upgrade to Go 1.13 and make sure GO111MODULE isn't set, it

Re: [go-nuts] [ANN] go-resty v2.1.0 released - Simple HTTP and REST client library

2019-10-11 Thread Sam Whited
On Fri, Oct 11, 2019, at 20:55, Dimas Prawira wrote: > Stable Version : github.com/go-resty/resty/v2 > > got 404 (not found) That is a Go import line with a module major version suffix, not a GitHub URL. The fact that they look the same instead of using some other syntax is extremely annoying,