fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"sync"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/micro/go-micro/server"
|
||||
"github.com/micro/go-micro/v2/server"
|
||||
)
|
||||
|
||||
type MockServer struct {
|
||||
|
@@ -1,8 +1,8 @@
|
||||
package mock
|
||||
|
||||
import (
|
||||
"github.com/micro/go-micro/registry"
|
||||
"github.com/micro/go-micro/server"
|
||||
"github.com/micro/go-micro/v2/registry"
|
||||
"github.com/micro/go-micro/v2/server"
|
||||
)
|
||||
|
||||
type MockHandler struct {
|
||||
|
@@ -1,8 +1,8 @@
|
||||
package mock
|
||||
|
||||
import (
|
||||
"github.com/micro/go-micro/registry"
|
||||
"github.com/micro/go-micro/server"
|
||||
"github.com/micro/go-micro/v2/registry"
|
||||
"github.com/micro/go-micro/v2/server"
|
||||
)
|
||||
|
||||
type MockSubscriber struct {
|
||||
|
@@ -3,7 +3,7 @@ package mock
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/micro/go-micro/server"
|
||||
"github.com/micro/go-micro/v2/server"
|
||||
)
|
||||
|
||||
func TestMockServer(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user