Skip to content

Commit

Permalink
Modified
Browse files Browse the repository at this point in the history
  • Loading branch information
tanaikech committed Nov 24, 2018
1 parent 676559f commit 3f2f235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resumabledownload.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (p *para) showFileInf() error {
return nil
}

// getDownloadBytes : Get download size for resumable download. Minimum value is 10 MB.
// getDownloadBytes : Get download size for resumable download.
func getDownloadBytes(size string) (int64, error) {
reg := regexp.MustCompile("^([0-9.]+)$|^([0-9.]+)([bkmgt])")
regRes := reg.FindStringSubmatch(strings.ToLower(size))
Expand Down

0 comments on commit 3f2f235

Please sign in to comment.