move big into big

This commit is contained in:
Bel LaPointe
2021-02-21 12:44:43 -06:00
parent 7f2d451ca4
commit e22f272906
6 changed files with 24 additions and 13 deletions

View File

@@ -3,6 +3,8 @@ package storage
import (
"bytes"
"io/ioutil"
"local/storage/minio"
"local/storage/rclone"
"local/storage/resolve"
"log"
"net"
@@ -156,7 +158,7 @@ func TestImplementations(t *testing.T) {
}
if _, ok := os.LookupEnv("MINIO"); ok {
if minio, err := NewMinio("localhost:9000", "accesskey", "secretkey"); err != nil {
if minio, err := minio.NewMinio("localhost:9000", "accesskey", "secretkey"); err != nil {
t.Logf("cannot make minio: %v", err)
} else {
cases = append(cases, minio)
@@ -175,7 +177,7 @@ func TestImplementations(t *testing.T) {
type = local
`))
f.Close()
rclone, err := NewRClone(f.Name(), "local:/tmp")
rclone, err := rclone.NewRClone(f.Name(), "local:/tmp")
if err != nil {
t.Errorf("cannot make rclone: %v", err)
} else {