Possible Duplicate:Encode / decode URLs
What's the recommended way to encode/decode URLs in Go? I am looking to the equivalent of encodeURIComponent in JavaScript.
You're looking for the "net/url" package.
http://golang.org/pkg/net/url/#QueryEscape