Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
net/url: add URL.ForceFragment like ForceQuery for empty fragments to stringify with '#' #29603
What version of Go are you using (
In your "What did you expect to see?" section, you expected the value of
Fragment string // fragment for references, without '#'
So clearly that can't work as you expect.
What we could do perhaps is add
I see all replies and saw yours last week. I just had nothing further to add.
We're in the Go 1.12 release freeze right now (https://github.com/golang/go/wiki/Go-Release-Cycle) so this isn't a priority.