docs: fix wrong syntax on usage

This commit is contained in:
estlop 2022-06-30 13:39:01 +01:00 committed by Dav Hojt
parent b974a12074
commit aab618949e
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ import (
"fmt"
)
func main() {
l := piscine.EvenLength(["Hi", "Hola", "Ola", "Ciao", "Salut", "Hallo"])
l := piscine.EvenLength([]string{"Hi", "Hola", "Ola", "Ciao", "Salut", "Hallo"})
fmt.Println(l)
}
```