FAQ

On Thu, Dec 17, 2015 at 5:47 AM, wrote:
When the net/url package was update for Go 1.5, was consideration given to
adding functions PathEscape and PathUnescape to the package net/url? The
functionality is already present (see func (*URL) EscapedPath), but not
exposed in a usable manner. The functions would also be a natural
complement to QueryEscape and QueryUnescape.
I don't think any consideration was given. It would have been useful
for e.g. https://go-review.googlesource.com/#/c/16859/5/webdav/webdav.go
although that code as is also works.

Let's see what bradfitz thinks (after Go 1.6 is released).

--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 16, '15 at 6:47p
activeDec 27, '15 at 12:29a
posts4
users3
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase