summaryrefslogtreecommitdiffstats
path: root/internal/wordlist/wordlist.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/wordlist/wordlist.go')
-rw-r--r--internal/wordlist/wordlist.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/wordlist/wordlist.go b/internal/wordlist/wordlist.go
new file mode 100644
index 0000000..de929bc
--- /dev/null
+++ b/internal/wordlist/wordlist.go
@@ -0,0 +1,11 @@
+package wordlist
+
+import (
+ _ "embed"
+ "strings"
+)
+
+//go:embed wordlist.txt
+var wordList string
+
+var Words = strings.Split(strings.TrimSuffix(wordList, "\n"), "\n")