Be careful with this trick. I'd recommend using a real URLEncode method: http://golang.org/pkg/net/url/#QueryEscape