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 e43ffb92a3
commit e15ad46e01
2 changed files with 5 additions and 5 deletions

View File

@ -11,10 +11,10 @@ import (
"sync" "sync"
"time" "time"
"github.com/micro/go-micro/api" "github.com/micro/go-micro/v2/api"
"github.com/micro/go-micro/api/router" "github.com/micro/go-micro/v2/api/router"
"github.com/micro/go-micro/registry" "github.com/micro/go-micro/v2/registry"
"github.com/micro/go-micro/registry/cache" "github.com/micro/go-micro/v2/registry/cache"
) )
// router is the default router // router is the default router

View File

@ -6,7 +6,7 @@ import (
"net/url" "net/url"
"testing" "testing"
"github.com/micro/go-micro/api" "github.com/micro/go-micro/v2/api"
) )
func TestSetNamespace(t *testing.T) { func TestSetNamespace(t *testing.T) {