about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wordlist.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wordlist.go b/src/wordlist.go
index 9ad5e58..8e9dbca 100644
--- a/src/wordlist.go
+++ b/src/wordlist.go
@@ -36,10 +36,14 @@ func readWordlist(wordlistPath string) ([]string, error) {
 	return lines, nil
 }
 
-func writeWordlistToChannel(wordlistChannel chan string, wordlist []string) {
+// writeWordlistToChannel writes the given wordlist (wordlist) into the given channel (wordlistChannel)
+func writeWordlistToChannel(channels channels, wordlist []string) {
+	log.Printf("%s Starting inserting the given wordlist into the channel", green("[i]"))
+
 	// write all the words from the wordlist into the wordlistChannel
 	for _, line := range wordlist {
 		wordlistChannel <- line
 	}
+
 	log.Printf("%s Done inserting the wordlist elements into the wordlist channel", green("[+]"))
 }