From cd65a41d3330640b4ce617b990d77af3850d446b Mon Sep 17 00:00:00 2001 From: zainabdnaya Date: Thu, 9 Jun 2022 20:18:50 +0100 Subject: [PATCH] feat: add solution of vowelsindex.go --- subjects/vowels-index/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/vowels-index/README.md b/subjects/vowels-index/README.md index 8ca023b7..510ec5c9 100644 --- a/subjects/vowels-index/README.md +++ b/subjects/vowels-index/README.md @@ -8,7 +8,7 @@ ### Expected function ```go -func VowelIdx(str string) []int { +func vowelsindex(str string) []int { } ``` ### Usage @@ -20,7 +20,7 @@ import "fmt" func main() { - res := VowelIdx("hello Iyan") + res := vowelsindex("hello Iyan") for _, i := range res { fmt.Println(i) }