From ab34abaaee5580048fff2212255c4615fcc9d2ae Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 2 Nov 2019 22:12:06 +0100 Subject: better naming --- src/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.go b/src/main.go index bfb839c..0a6dfca 100644 --- a/src/main.go +++ b/src/main.go @@ -7,7 +7,7 @@ import ( func main() { // read command line arguments, create channels... registerFlags() - channels = registerChannels() + channelsStruct := registerChannels() // read the wordlist from a file wordlist, err := readWordlist(wordlist) @@ -18,12 +18,12 @@ func main() { // write into the wordlist channel and read out of the print channel // these functions wait for input into the channels and process the given // data - go writeWordlistToChannel(channels, wordlist) - go printResponses(channels) + go writeWordlistToChannel(channelsStruct, wordlist) + go printResponses(channelsStruct) // start the http server exposing the data found go httpStartServer() // make the http requests by fetching the data from the channels - httpHandler(wordlistChannel, printChannel, doneChannel) + httpHandler(channelsStruct) } -- cgit 1.4.1