fix import paths for v2 release

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-01-30 14:39:00 +03:00
parent 2b1e0a6fd6
commit f23638c036
347 changed files with 864 additions and 820 deletions

View File

@@ -11,7 +11,7 @@ import (
client "github.com/coreos/etcd/clientv3"
cc "github.com/coreos/etcd/clientv3/concurrency"
"github.com/micro/go-micro/sync/lock"
"github.com/micro/go-micro/v2/sync/lock"
)
type etcdLock struct {

View File

@@ -11,7 +11,7 @@ import (
"path/filepath"
"strings"
"github.com/micro/go-micro/sync/lock"
"github.com/micro/go-micro/v2/sync/lock"
)
var (

View File

@@ -4,8 +4,8 @@ package server
import (
"net/http"
"github.com/micro/go-micro/sync/lock"
lkhttp "github.com/micro/go-micro/sync/lock/http"
"github.com/micro/go-micro/v2/sync/lock"
lkhttp "github.com/micro/go-micro/v2/sync/lock/http"
)
func Handler(lk lock.Lock) http.Handler {

View File

@@ -5,7 +5,7 @@ import (
"sync"
"time"
lock "github.com/micro/go-micro/sync/lock"
lock "github.com/micro/go-micro/v2/sync/lock"
)
type memoryLock struct {