我有一个包含空格和特殊字符的 URL,如下例所示:
http://localhost:8182/graphs/graph/tp/gremlin?script=g.addVertex(['id':'0af69422 5be','date':'1968-01-16 00:00:00 +0000 UTC'])
如何在 Go 中对这样的 URL 进行编码?
go
go ×1