- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleURL_EscapedPath (0.58 sec)
-
src/net/url/example_test.go
func ExampleParseQuery() { m, err := url.ParseQuery(`x=1&y=2&y=3`) if err != nil { log.Fatal(err) } fmt.Println(toJSON(m)) // Output: // {"x":["1"], "y":["2", "3"]} } func ExampleURL_EscapedPath() { u, err := url.Parse("http://example.com/x/y%2Fz") if err != nil { log.Fatal(err) } fmt.Println("Path:", u.Path) fmt.Println("RawPath:", u.RawPath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 7.2K bytes - Viewed (0)