[Golang] parse url without query parameter

0
527
views

 

Use url parse, and then set raw query to be empty.
https://play.golang.org/p/d-7leerLKXD

LEAVE A REPLY

Please enter your name here
Please enter your comment!