diff options
Diffstat (limited to 'wordlist.go')
| -rw-r--r-- | wordlist.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/wordlist.go b/wordlist.go new file mode 100644 index 0000000..a8b0ae8 --- /dev/null +++ b/wordlist.go @@ -0,0 +1,13 @@ +// Package wordlist provides a list of 8192 short english or english-ish words. +package wordlist + +import ( + _ "embed" + "strings" +) + +//go:embed wordlist.txt +var wordListString string + +// WordList is a list of 8192 words. +var WordList = strings.Split(strings.TrimSuffix(wordListString, "\n"), "\n") |
