You can use
https://github.com/mreiferson/go-httpclient
From Readme:
HttpClient wraps Go's built in HTTP client providing an API to:
- set timeouts
- separate connect timeout
- request based timeout (*not* just read/write deadline)
- easy access to the connection object for a given request
--
Fatih Arslan
On 3 June 2013 Monday at 13:50, Piyush Madan wrote:
> > Yaşar Arabacı if you found the answer to this question please post here, I would be really grateful.
>
>
>
> Otherwise, can someone else please help me out here? How do you set the timeout of a Get request in golang?
>
> --
> 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...@googlegroups.com (mailto:
golang-nuts...@googlegroups.com).
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>