Make imports absolute and use own copy of goamz pending patch inclusion

This commit is contained in:
Nick Craig-Wood 2013-07-11 17:37:33 +01:00
parent 90738f4081
commit a34bf2ae5e
5 changed files with 11 additions and 11 deletions

View File

@ -22,12 +22,12 @@ package drive
// * files with / in name
import (
"../fs"
"code.google.com/p/goauth2/oauth"
"code.google.com/p/google-api-go-client/drive/v2"
"errors"
"flag"
"fmt"
"github.com/ncw/rclone/fs"
"io"
"log"
"mime"

View File

@ -2,9 +2,9 @@
package local
import (
"../fs"
"crypto/md5"
"fmt"
"github.com/ncw/rclone/fs"
"io"
"io/ioutil"
"log"

View File

@ -4,9 +4,9 @@
package main
import (
"./fs"
"flag"
"fmt"
"github.com/ncw/rclone/fs"
"log"
"os"
"runtime"
@ -15,10 +15,10 @@ import (
"sync"
"time"
// Active file systems
_ "./drive"
_ "./local"
_ "./s3"
_ "./swift"
_ "github.com/ncw/rclone/drive"
_ "github.com/ncw/rclone/local"
_ "github.com/ncw/rclone/s3"
_ "github.com/ncw/rclone/swift"
)
// Globals

View File

@ -4,14 +4,14 @@ package s3
// FIXME need to prevent anything but ListDir working for s3://
import (
"../fs"
"errors"
"flag"
"fmt"
"github.com/ncw/goamz/aws"
"github.com/ncw/goamz/s3"
"github.com/ncw/rclone/fs"
"github.com/ncw/swift"
"io"
"launchpad.net/goamz/aws"
"launchpad.net/goamz/s3"
"log"
"mime"
"net/http"

View File

@ -4,10 +4,10 @@ package swift
// FIXME need to prevent anything but ListDir working for swift://
import (
"../fs"
"errors"
"flag"
"fmt"
"github.com/ncw/rclone/fs"
"github.com/ncw/swift"
"io"
"log"