Stop using log when printing lines.

This commit is contained in:
Andrey Smirnov
2014-01-21 13:35:56 +04:00
parent c61a6b6dd8
commit e183ddb981
+1 -2
View File
@@ -6,7 +6,6 @@ import (
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"os"
"path/filepath"
@@ -94,7 +93,7 @@ func (downloader *downloaderImpl) Download(url string, destination string, resul
// handleTask processes single download task
func (downloader *downloaderImpl) handleTask(task *downloadTask) {
log.Printf("Downloading %s...\n", task.url)
fmt.Printf("Downloading %s...\n", task.url)
resp, err := http.Get(task.url)
if err != nil {