Change import name
This commit is contained in:
parent
f102aba4c1
commit
3ede494945
@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/micro/go-micro/v2/api/handler"
|
||||
"github.com/micro/go-micro/v2/api/resolver"
|
||||
res "github.com/micro/go-micro/v2/api/resolver/vpath"
|
||||
"github.com/micro/go-micro/v2/api/resolver/vpath"
|
||||
"github.com/micro/go-micro/v2/api/router"
|
||||
regRouter "github.com/micro/go-micro/v2/api/router/registry"
|
||||
"github.com/micro/go-micro/v2/registry"
|
||||
@ -57,7 +57,7 @@ func testHttp(t *testing.T, path, service, ns string) {
|
||||
rt := regRouter.NewRouter(
|
||||
router.WithHandler("http"),
|
||||
router.WithRegistry(r),
|
||||
router.WithResolver(res.NewResolver(
|
||||
router.WithResolver(vpath.NewResolver(
|
||||
resolver.WithNamespace(ns),
|
||||
)),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user