- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExamplePathUnescape (1.12 sec)
-
src/net/url/example_test.go
"log" "net/url" "strings" ) func ExamplePathEscape() { path := url.PathEscape("my/cool+blog&about,stuff") fmt.Println(path) // Output: // my%2Fcool+blog&about%2Cstuff } func ExamplePathUnescape() { escapedPath := "my%2Fcool+blog&about%2Cstuff" path, err := url.PathUnescape(escapedPath) if err != nil { log.Fatal(err) } fmt.Println(path) // Output: // my/cool+blog&about,stuff }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 7.2K bytes - Viewed (0)