()
| 214 | } |
| 215 | |
| 216 | func (gen Generator) RandomTwoLetters() string { |
| 217 | var asciiLetterA = 97 |
| 218 | letterOne := string(rune(gen.r.Intn(26) + asciiLetterA)) |
| 219 | letterTwo := string(rune(gen.r.Intn(26) + asciiLetterA)) |
| 220 | return letterOne + letterTwo |
| 221 | } |
| 222 | |
| 223 | func randomElement(r *rand.Rand, fullList string) string { |
| 224 | wordList := strings.Split(fullList, "\n") |
no outgoing calls
no test coverage detected