From 496172358e780e984d125ed7d8867d287a03c293 Mon Sep 17 00:00:00 2001 From: Geoff Yoerger Date: Fri, 26 Feb 2016 22:06:00 -0600 Subject: Make `go get` work Make `go get` work --- README.md | 5 +---- compare.go | 2 +- gdrive.go | 2 +- handlers_drive.go | 6 +++--- handlers_meta.go | 2 +- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e46f139..f8d66fa 100644 --- a/README.md +++ b/README.md @@ -55,10 +55,7 @@ You will be prompted for a new verification code if the folder does not exist. ## Compile from source ```bash -git clone https://github.com/prasmussen/gdrive.git -cd gdrive -go get ./... -go build -o gdrive +go get github.com/prasmussen/gdrive ``` ## Gdrive 2 diff --git a/compare.go b/compare.go index 7dd8c86..ac68284 100644 --- a/compare.go +++ b/compare.go @@ -1,7 +1,7 @@ package main import ( - "./drive" + "github.com/prasmussen/gdrive/drive" "encoding/json" "os" ) diff --git a/gdrive.go b/gdrive.go index c9a04f6..c68d43d 100644 --- a/gdrive.go +++ b/gdrive.go @@ -1,7 +1,7 @@ package main import ( - "./cli" + "github.com/prasmussen/gdrive/cli" "fmt" "os" ) diff --git a/handlers_drive.go b/handlers_drive.go index baaf050..f0386ce 100644 --- a/handlers_drive.go +++ b/handlers_drive.go @@ -1,9 +1,9 @@ package main import ( - "./auth" - "./cli" - "./drive" + "github.com/prasmussen/gdrive/auth" + "github.com/prasmussen/gdrive/cli" + "github.com/prasmussen/gdrive/drive" "fmt" "io" "io/ioutil" diff --git a/handlers_meta.go b/handlers_meta.go index 72e3dd0..bfd5b8f 100644 --- a/handlers_meta.go +++ b/handlers_meta.go @@ -1,7 +1,7 @@ package main import ( - "./cli" + "github.com/prasmussen/gdrive/cli" "fmt" "os" "runtime" -- cgit v1.2.3