(rnd *rand.Rand, length, alphabetSize int)
| 197 | } |
| 198 | |
| 199 | func generateRandomSequence(rnd *rand.Rand, length, alphabetSize int) []string { |
| 200 | result := make([]string, length) |
| 201 | for i := 0; i < length; i++ { |
| 202 | result[i] = fmt.Sprintf("item-%d", rnd.Intn(alphabetSize)) |
| 203 | } |
| 204 | return result |
| 205 | } |
no outgoing calls
no test coverage detected