This website works better with JavaScript.
Home
Explore
Help
Sign In
tgo
/
file
Watch
6
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
2
Wiki
Activity
Browse Source
修复
master
v0.1.1
guzeng
3 years ago
parent
147ec89684
commit
01d3de4357
2 changed files
with
3 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
dir.go
+1
-1
download.go
+ 2
- 0
dir.go
View File
@ -1,6 +1,8 @@
package
file
package
file
import
(
import
(
"log"
"os"
"strings"
"strings"
)
)
+ 1
- 1
download.go
View File
@ -53,7 +53,7 @@ func DownProgress(url string, localPath string, fb func(length, downLen int64))
if
err
!=
nil
{
if
err
!=
nil
{
// fmt.Println(err)
// fmt.Println(err)
}
}
if
IsFileExist
(
localPath
,
fsize
)
{
if
ok
,
_
:=
IsFileExist
(
localPath
,
fsize
)
;
ok
{
return
err
return
err
}
}
Write
Preview
Loading…
Cancel
Save