Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 271 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 271 Bytes

235,886 Words

Usage

Get the package

go get github.com/tidwall/words

Loop though all the words

for _, word := range words.Words {
    println(word)
}

Get a random word

word := words.Words[rand.Intn(len(words.Words)]]
println(word)