>
> I tried Set and Add. Request.Url.Query() is empty
>

 https://godoc.org/net/url#URL.Query:

Query parses RawQuery and returns the corresponding values.
>

You are changing a copy.

q := req.URL.Query()
q.Set()...

req.URL.RawQuery = q.Encode()

Cheers,
Paul

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to