- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for seafood (0.05 sec)
-
src/bytes/example_test.go
fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo"))) fmt.Println(bytes.Contains([]byte("seafood"), []byte("bar"))) fmt.Println(bytes.Contains([]byte("seafood"), []byte(""))) fmt.Println(bytes.Contains([]byte(""), []byte(""))) // Output: // true // false // true // true } func ExampleContainsAny() { fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "fÄo!"))
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0)