update import paths: github.com/giolekva/pcloud
diff --git a/chunk.go b/chunk.go
index dd30b99..d8e9f21 100644
--- a/chunk.go
+++ b/chunk.go
@@ -10,8 +10,8 @@
"google.golang.org/grpc"
- "pcloud/api"
- "pcloud/chunk"
+ "github.com/giolekva/pcloud/api"
+ "github.com/giolekva/pcloud/chunk"
)
var masterAddress = flag.String("master", "localhost:123", "Metadata storage address.")
diff --git a/chunk/chunk.go b/chunk/chunk.go
index 438e355..67f6ca1 100644
--- a/chunk/chunk.go
+++ b/chunk/chunk.go
@@ -3,7 +3,7 @@
import (
"io"
- "pcloud/api"
+ "github.com/giolekva/pcloud/api"
)
type ChunkInfo struct {
diff --git a/chunk/file.go b/chunk/file.go
index ddb43f6..b0d3d5a 100644
--- a/chunk/file.go
+++ b/chunk/file.go
@@ -4,7 +4,7 @@
"io"
"os"
- "pcloud/api"
+ "github.com/giolekva/pcloud/api"
)
type ReadOnlyFileChunk struct {
diff --git a/chunk/in_memory.go b/chunk/in_memory.go
index ca7259c..b2199ee 100644
--- a/chunk/in_memory.go
+++ b/chunk/in_memory.go
@@ -5,7 +5,7 @@
"errors"
"io"
- "pcloud/api"
+ "github.com/giolekva/pcloud/api"
)
type InMemoryChunk struct {
diff --git a/chunk/remote.go b/chunk/remote.go
index 0da0ad8..60aeb13 100644
--- a/chunk/remote.go
+++ b/chunk/remote.go
@@ -4,7 +4,7 @@
"context"
"io"
- "pcloud/api"
+ "github.com/giolekva/pcloud/api"
)
type RemoteChunk struct {
diff --git a/chunk/replicator.go b/chunk/replicator.go
index fe49862..5fcabc7 100644
--- a/chunk/replicator.go
+++ b/chunk/replicator.go
@@ -6,7 +6,7 @@
"google.golang.org/grpc"
- "pcloud/api"
+ "github.com/giolekva/pcloud/api"
)
type PrimaryReplicaChangeListener interface {
diff --git a/chunk/server.go b/chunk/server.go
index 1e7b534..c262509 100644
--- a/chunk/server.go
+++ b/chunk/server.go
@@ -7,7 +7,7 @@
"sync"
- "pcloud/api"
+ "github.com/giolekva/pcloud/api"
)
type ChunkServer struct {
diff --git a/chunk/server_test.go b/chunk/server_test.go
index 2c6fb83..99a6427 100644
--- a/chunk/server_test.go
+++ b/chunk/server_test.go
@@ -5,7 +5,7 @@
"context"
"testing"
- "pcloud/api"
+ "github.com/giolekva/pcloud/api"
)
func TestStoreChunk(t *testing.T) {
diff --git a/client.go b/client.go
index c8f35ad..b908552 100644
--- a/client.go
+++ b/client.go
@@ -7,8 +7,8 @@
"google.golang.org/grpc"
- "pcloud/api"
- "pcloud/client"
+ "github.com/giolekva/pcloud/api"
+ "github.com/giolekva/pcloud/client"
)
var masterAddress = flag.String("master", "localhost:123", "Metadata storage address.")
diff --git a/client/client.go b/client/client.go
index a578dea..99c30fa 100644
--- a/client/client.go
+++ b/client/client.go
@@ -4,8 +4,8 @@
"context"
"os"
- "pcloud/api"
- "pcloud/chunk"
+ "github.com/giolekva/pcloud/api"
+ "github.com/giolekva/pcloud/chunk"
)
type FileUploader struct {
diff --git a/client/client_test.go b/client/client_test.go
index 269f643..ecf4938 100644
--- a/client/client_test.go
+++ b/client/client_test.go
@@ -6,8 +6,8 @@
"google.golang.org/grpc"
- "pcloud/api"
- pt "pcloud/testing"
+ "github.com/giolekva/pcloud/api"
+ pt "github.com/giolekva/pcloud/testing"
)
func TestUploadSmallFile(t *testing.T) {
diff --git a/master.go b/master.go
index 7f3bb86..1b791c0 100644
--- a/master.go
+++ b/master.go
@@ -8,8 +8,8 @@
"google.golang.org/grpc"
- "pcloud/api"
- "pcloud/master"
+ "github.com/giolekva/pcloud/api"
+ "github.com/giolekva/pcloud/master"
)
var port = flag.Int("port", 123, "Port to listen on.")
diff --git a/master/chunk.go b/master/chunk.go
index 00798c9..b3acd61 100644
--- a/master/chunk.go
+++ b/master/chunk.go
@@ -1,7 +1,7 @@
package master
import (
- "pcloud/api"
+ "github.com/giolekva/pcloud/api"
)
type chunkServerStatus int
diff --git a/master/server.go b/master/server.go
index b6e76fa..5e648cf 100644
--- a/master/server.go
+++ b/master/server.go
@@ -8,7 +8,7 @@
"github.com/google/uuid"
"google.golang.org/grpc"
- "pcloud/api"
+ "github.com/giolekva/pcloud/api"
)
type chunkServers struct {
diff --git a/testing/in_memory_env.go b/testing/in_memory_env.go
index a4cbcd4..ff6485f 100644
--- a/testing/in_memory_env.go
+++ b/testing/in_memory_env.go
@@ -9,9 +9,9 @@
"google.golang.org/grpc"
- "pcloud/api"
- "pcloud/chunk"
- "pcloud/master"
+ "github.com/giolekva/pcloud/api"
+ "github.com/giolekva/pcloud/chunk"
+ "github.com/giolekva/pcloud/master"
)
type InMemoryEnv struct {