Skip to content

Commit

Permalink
Updated to v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tanaikech committed Feb 26, 2022
1 parent ec1fc16 commit 540c5ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,16 @@ If you have any questions and commissions for me, feel free to tell me.

1. Recently, it seems that the specification the process for downloading the shared file on Google Drive has been changed. So I updated goodls for reflecting this. The usage of goodls is not changed.

<a name="v130"></a>
<a name="v200"></a>

- v2.0.0 (February 25, 2022)

1. By changing the specification of methods, `drive.New()` and `transport.APIKey` were deprecated. By this, I updated [go-getfilelist](https://github.com/tanaikech/go-getfilelist). In this version, I used this updated library to goodls. And also, `drive.NewService()` is used instead of `drive.New()`.

<a name="v201"></a>

- v2.0.1 (February 26, 2022)

1. A bug for the resumable download was removed.

[TOP](#top)
2 changes: 1 addition & 1 deletion goodls.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func createHelp() *cli.App {
{Name: "tanaike [ https://github.com/tanaikech/" + appname + " ] ", Email: "[email protected]"},
}
a.UsageText = "Download shared files on Google Drive."
a.Version = "2.0.0"
a.Version = "2.0.1"
a.Flags = []cli.Flag{
&cli.StringFlag{
Name: "url, u",
Expand Down
1 change: 1 addition & 0 deletions resumabledownload.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (v *valResumableDownload) resDownloadFileByAPIKey() (*http.Response, error)
u.Path = path.Join(u.Path, v.DownloadFile.Id)
q := u.Query()
q.Set("alt", "media")
q.Set("key", v.APIKey)
u.RawQuery = q.Encode()
timeOut := func(size int64) int64 {
if size == 0 {
Expand Down

0 comments on commit 540c5ea

Please sign in to comment.