docs: fix wrong sintax in usage

This commit is contained in:
estlop 2022-06-30 13:37:53 +01:00 committed by Dav Hojt
parent e1d2392997
commit cf5f8e6c1e
1 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@ import (
)
func main() {
fmt.Println(piscine.Delete([1, 2, 3, 4, 5], 2))
fmt.Println(piscine.Delete([1, 2, 3, 4, 5], 3))
fmt.Println(piscine.Delete([1, 2, 3, 4, 5], 1))
fmt.Println(piscine.Delete([]int{1, 2, 3, 4, 5}, 2))
fmt.Println(piscine.Delete([]int{1, 2, 3, 4, 5}, 3))
fmt.Println(piscine.Delete([]int{1, 2, 3, 4, 5}, 1))
}
```