diff --git a/store/consul/consul.go b/data/store/consul/consul.go similarity index 97% rename from store/consul/consul.go rename to data/store/consul/consul.go index fe937e6c..174d043c 100644 --- a/store/consul/consul.go +++ b/data/store/consul/consul.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/consul/api" "github.com/micro/go-micro/config/options" - "github.com/micro/go-micro/store" + "github.com/micro/go-micro/data/store" ) type ckv struct { diff --git a/store/memory/memory.go b/data/store/memory/memory.go similarity index 97% rename from store/memory/memory.go rename to data/store/memory/memory.go index d6b23e20..0e06eefa 100644 --- a/store/memory/memory.go +++ b/data/store/memory/memory.go @@ -6,7 +6,7 @@ import ( "time" "github.com/micro/go-micro/config/options" - "github.com/micro/go-micro/store" + "github.com/micro/go-micro/data/store" ) type memoryStore struct { diff --git a/store/options.go b/data/store/options.go similarity index 100% rename from store/options.go rename to data/store/options.go diff --git a/store/store.go b/data/store/store.go similarity index 100% rename from store/store.go rename to data/store/store.go diff --git a/sync/map.go b/sync/map.go index 2053c57d..5f7865e9 100644 --- a/sync/map.go +++ b/sync/map.go @@ -6,8 +6,8 @@ import ( "encoding/json" "fmt" - "github.com/micro/go-micro/store" - ckv "github.com/micro/go-micro/store/consul" + "github.com/micro/go-micro/data/store" + ckv "github.com/micro/go-micro/data/store/consul" lock "github.com/micro/go-micro/sync/lock/consul" ) diff --git a/sync/options.go b/sync/options.go index 0e5cf3d0..65f20e28 100644 --- a/sync/options.go +++ b/sync/options.go @@ -1,7 +1,7 @@ package sync import ( - "github.com/micro/go-micro/store" + "github.com/micro/go-micro/data/store" "github.com/micro/go-micro/sync/leader" "github.com/micro/go-micro/sync/lock" "github.com/micro/go-micro/sync/time" diff --git a/sync/sync.go b/sync/sync.go index 7b080b1d..27a6104a 100644 --- a/sync/sync.go +++ b/sync/sync.go @@ -2,7 +2,7 @@ package sync import ( - "github.com/micro/go-micro/store" + "github.com/micro/go-micro/data/store" "github.com/micro/go-micro/sync/leader" "github.com/micro/go-micro/sync/lock" "github.com/micro/go-micro/sync/task"