From 861ddc5e9e28a113a71f9dac5fb0ac89364a24dd Mon Sep 17 00:00:00 2001 From: Michael Bunsen Date: Wed, 10 Aug 2022 15:04:23 -0700 Subject: [PATCH 1/2] Update go install command Using the previous command I get the error: > go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'. ubuntu@gpu:~$ go install github.com/prasmussen/g --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46630f6b..c240de02 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ You will be prompted for a new verification code if the folder does not exist. ## Compile from source ```bash -go get github.com/prasmussen/gdrive + go install github.com/prasmussen/gdrive@latest ``` The gdrive binary should now be available at `$GOPATH/bin/gdrive` From 955cafa1e0e82fbfcd4aadcc814d956771aa6c7c Mon Sep 17 00:00:00 2001 From: Michael Bunsen Date: Wed, 10 Aug 2022 15:08:40 -0700 Subject: [PATCH 2/2] Remove space --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c240de02..2849ab40 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ You will be prompted for a new verification code if the folder does not exist. ## Compile from source ```bash - go install github.com/prasmussen/gdrive@latest +go install github.com/prasmussen/gdrive@latest ``` The gdrive binary should now be available at `$GOPATH/bin/gdrive`