- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Cami (0.12 sec)
-
src/bytes/example_test.go
// true } func ExampleHasSuffix() { fmt.Println(bytes.HasSuffix([]byte("Amigo"), []byte("go"))) fmt.Println(bytes.HasSuffix([]byte("Amigo"), []byte("O"))) fmt.Println(bytes.HasSuffix([]byte("Amigo"), []byte("Ami"))) fmt.Println(bytes.HasSuffix([]byte("Amigo"), []byte(""))) // Output: // true // false // false // true } func ExampleIndex() { fmt.Println(bytes.Index([]byte("chicken"), []byte("ken")))
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1)