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

@@ -17,7 +17,7 @@ import (
"strconv"
"time"
"github.com/micro/go-micro/store"
"github.com/micro/go-micro/v2/store"
"github.com/pkg/errors"
)

View File

@@ -7,7 +7,7 @@ import (
"testing"
"time"
"github.com/micro/go-micro/store"
"github.com/micro/go-micro/v2/store"
)
func TestCloudflare(t *testing.T) {

View File

@@ -3,7 +3,7 @@ package cloudflare
import (
"context"
"github.com/micro/go-micro/store"
"github.com/micro/go-micro/v2/store"
)
func getOption(ctx context.Context, key string) string {

View File

@@ -10,8 +10,8 @@ import (
"unicode"
"github.com/lib/pq"
"github.com/micro/go-micro/store"
"github.com/micro/go-micro/util/log"
"github.com/micro/go-micro/v2/store"
"github.com/micro/go-micro/v2/util/log"
"github.com/pkg/errors"
)

View File

@@ -7,7 +7,7 @@ import (
"time"
"github.com/kr/pretty"
"github.com/micro/go-micro/store"
"github.com/micro/go-micro/v2/store"
)
func TestSQL(t *testing.T) {

View File

@@ -6,7 +6,7 @@ import (
"log"
client "github.com/coreos/etcd/clientv3"
"github.com/micro/go-micro/store"
"github.com/micro/go-micro/v2/store"
)
type ekv struct {

View File

@@ -6,7 +6,7 @@ import (
"sync"
"time"
"github.com/micro/go-micro/store"
"github.com/micro/go-micro/v2/store"
)
type memoryStore struct {

View File

@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/micro/go-micro/store"
"github.com/micro/go-micro/v2/store"
)
func TestReadRecordExpire(t *testing.T) {

View File

@@ -11,8 +11,8 @@ import (
import (
context "context"
client "github.com/micro/go-micro/client"
server "github.com/micro/go-micro/server"
client "github.com/micro/go-micro/v2/client"
server "github.com/micro/go-micro/v2/server"
)
// Reference imports to suppress errors if they are not otherwise used.

View File

@@ -6,10 +6,10 @@ import (
"io"
"time"
"github.com/micro/go-micro/client"
"github.com/micro/go-micro/metadata"
"github.com/micro/go-micro/store"
pb "github.com/micro/go-micro/store/service/proto"
"github.com/micro/go-micro/v2/client"
"github.com/micro/go-micro/v2/metadata"
"github.com/micro/go-micro/v2/store"
pb "github.com/micro/go-micro/v2/store/service/proto"
)
type serviceStore struct {