diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/background/download.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/background/download.go b/pkg/background/download.go index fd391a6..78ff135 100644 --- a/pkg/background/download.go +++ b/pkg/background/download.go @@ -9,7 +9,7 @@ import ( // Download takes path and url as input and downloads the data to a // file, returning an error if there is one -func Download(file string, url string) (err error) { +func Download(file string, url string) error { o, err := os.Create(file) if err != nil { return err |