Go [edit]. package main import ( "fmt" "net/url" ) func main() { fmt.Println(url.QueryEscape("http://foo bar/")) }. Output: http%3A%2F%2Ffoo+bar%2F.
確定! 回上一頁