I only skimmed it quickly, but if that is just be normal URL encoding, the String() method on any url.URL should be fine I think.
I only skimmed it quickly, but if that is just be normal URL encoding, the String() method on any url.URL should be fine I think.