Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The example uses rand.Intn(4) on a slice of len 5, meaning the last element (e.g. "blue") can never be returned. rand.Intn should be called with the len of the slice.
- Loading branch information