diff options
Diffstat (limited to 'src/channel.go')
-rw-r--r-- | src/channel.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/channel.go b/src/channel.go index 11a6257..fbe3190 100644 --- a/src/channel.go +++ b/src/channel.go @@ -4,7 +4,9 @@ import "log" // registerChannels creats some channels, stores them in a channels struct and returns the struct for futher usage func registerChannels() channels { - log.Printf("%s Defining channels", green("[i]")) + if verbose == true { + log.Printf("%s Defining channels", green("[i]")) + } // define the channels wordlistChannel := make(chan string) @@ -18,7 +20,9 @@ func registerChannels() channels { doneChannel: doneChannel, } - log.Printf("%s Done defining channels", boldGreen("[+]")) + if verbose == true { + log.Printf("%s Done defining channels", boldGreen("[+]")) + } return channels } |