diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-07 09:15:13 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-07 09:15:13 -0700 |
| commit | 9f4c30b1fcd23d2284c0971973225d7fc2ffd541 (patch) | |
| tree | 736cc171eb5092dba6d5b030e173a01a88766348 /wordlist.go | |
| download | wordlist-go-9f4c30b1fcd23d2284c0971973225d7fc2ffd541.tar.zst | |
Initial commit
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") |
