Package urlesc implements query escaping as per RFC 3986.
It contains some parts of the net/url package, modified so as to allow some reserved characters incorrectly escaped by net/url (see issue 5684).
go get github.com/PuerkitoBio/urlesc
Go license (BSD-3-Clause)