- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleValues_Has (0.14 sec)
-
src/net/url/example_test.go
v.Add("cat sounds", "mew") v.Add("cat sounds", "mau") fmt.Printf("%q\n", v.Get("cat sounds")) fmt.Printf("%q\n", v.Get("dog sounds")) // Output: // "meow" // "" } func ExampleValues_Has() { v := url.Values{} v.Add("cat sounds", "meow") v.Add("cat sounds", "mew") v.Add("cat sounds", "mau") fmt.Println(v.Has("cat sounds")) fmt.Println(v.Has("dog sounds")) // Output:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 7.2K bytes - Viewed (0)