🎨 小修改

This commit is contained in:
Kanri
2021-10-15 22:02:14 +08:00
parent c46ca1d4c2
commit d375a3bbbb
5 changed files with 5 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ import (
"os"
)
// DownloadTo 下载到路径
func DownloadTo(url, file string) error {
resp, err := http.Get(url)
if err == nil {