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 need to have respective go 
version that supports module feature (
https://github.com/go-resty/resty#supported-go-versions) as described in 
the readme. 

I hope it helps.

- Jeeva


On Friday, October 11, 2019 at 2:50:26 PM UTC-7, Dimas Prawira wrote:
>
> Thanks, I'll check it out. 
>
> Cheers
> Dimas
>
> On Sat, Oct 12, 2019 at 4:32 AM Sam Whited <s...@samwhited.com 
> <javascript:>> 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 the GO111MODULE environment
>> variable. If you upgrade to Go 1.13 and make sure GO111MODULE isn't set,
>> it should default to being on.
>>
>> https://github.com/go-resty/resty/blob/v2.0.0/go.mod
>>
>> —Sam
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/37d9f556-d3a3-4728-932d-c54d67a017b4%40googlegroups.com.

Reply via email to