(r *rand.Rand)
| 154 | } |
| 155 | |
| 156 | func randomWord(r *rand.Rand) string { |
| 157 | words := []string{ |
| 158 | "apple", |
| 159 | "banana", |
| 160 | "cherry", |
| 161 | "date", |
| 162 | "elderberry", |
| 163 | "fig", |
| 164 | "grape", |
| 165 | "honeydew", |
| 166 | "kiwi", |
| 167 | "lemon", |
| 168 | "lime", |
| 169 | "mango", |
| 170 | "nectarine", |
| 171 | "orange", |
| 172 | "pear", |
| 173 | "pineapple", |
| 174 | } |
| 175 | return words[r.Intn(len(words))] |
| 176 | } |
no outgoing calls
no test coverage detected