chore: refactor code (#1700)

This commit is contained in:
Kevin Wan
2022-03-23 19:09:45 +08:00
committed by GitHub
parent d8054d8def
commit 3febb1a5d0
6 changed files with 7 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ import (
"os"
)
func Download(url string, filename string) error {
func Download(url, filename string) error {
resp, err := http.Get(url)
if err != nil {
return err