|
|
@ -8,7 +8,7 @@ |
|
|
|
### Expected function |
|
|
|
### Expected function |
|
|
|
|
|
|
|
|
|
|
|
```go |
|
|
|
```go |
|
|
|
func vowelsindex(str string) []int { |
|
|
|
func VowelsIndex(str string) []int { |
|
|
|
} |
|
|
|
} |
|
|
|
``` |
|
|
|
``` |
|
|
|
### Usage |
|
|
|
### Usage |
|
|
@ -20,7 +20,7 @@ import "fmt" |
|
|
|
|
|
|
|
|
|
|
|
func main() { |
|
|
|
func main() { |
|
|
|
|
|
|
|
|
|
|
|
res := vowelsindex("hello Iyan") |
|
|
|
res := VowelsIndex("hello Iyan") |
|
|
|
for _, i := range res { |
|
|
|
for _, i := range res { |
|
|
|
fmt.Println(i) |
|
|
|
fmt.Println(i) |
|
|
|
} |
|
|
|
} |
|
|
|