11-if/04-vowel-or-cons, Usage of strings.ContainsAny method as a new solution

This commit is contained in:
R3da
2021-07-08 21:50:04 +02:00
committed by İnanç Gümüş
parent 60dd1b2cca
commit a2ce73945e

View File

@ -26,6 +26,8 @@ package main
// Use strings.IndexAny function to detect the vowels.
// Search on Google for: golang pkg strings IndexAny
//
// Furthermore, you can also use strings.ContainsAny. Check out: https://golang.org/pkg/strings/#ContainsAny
//
// EXPECTED OUTPUT
// go run main.go
// Give me a letter