download_stream.go
Function downloadStream
has 56 lines of code (exceeds 50 allowed). Consider refactoring. Invalid
Invalid
func downloadStream(user string, url string, outLoc string, moveLoc string, subfolder bool, control <-chan bool, response chan<- bool) {
naturalFinish := make(chan error, 1)
sigint := make(chan bool)
t := time.Now().Format("2006-01-02_15-04-05")
if subfolder {
Function downloadStream
has 7 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
func downloadStream(user string, url string, outLoc string, moveLoc string, subfolder bool, control <-chan bool, response chan<- bool) {