1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-29 21:47:44 +02:00

go-micro.dev/v4 (#2305)

This commit is contained in:
Asim Aslam
2021-10-12 12:55:53 +01:00
committed by GitHub
parent d9a6faeb7a
commit 1cd7cfaa6c
705 changed files with 1365 additions and 1365 deletions

View File

@@ -1,9 +1,9 @@
package router
import (
"github.com/asim/go-micro/v3/api/resolver"
"github.com/asim/go-micro/v3/api/resolver/vpath"
"github.com/asim/go-micro/v3/registry"
"go-micro.dev/v4/api/resolver"
"go-micro.dev/v4/api/resolver/vpath"
"go-micro.dev/v4/registry"
)
type Options struct {

View File

@@ -10,13 +10,13 @@ import (
"sync"
"time"
"github.com/asim/go-micro/v3/api"
"github.com/asim/go-micro/v3/api/router"
"github.com/asim/go-micro/v3/api/router/util"
"github.com/asim/go-micro/v3/logger"
"github.com/asim/go-micro/v3/metadata"
"github.com/asim/go-micro/v3/registry"
"github.com/asim/go-micro/v3/registry/cache"
"go-micro.dev/v4/api"
"go-micro.dev/v4/api/router"
"go-micro.dev/v4/api/router/util"
"go-micro.dev/v4/logger"
"go-micro.dev/v4/metadata"
"go-micro.dev/v4/registry"
"go-micro.dev/v4/registry/cache"
)
// endpoint struct, that holds compiled pcre

View File

@@ -3,7 +3,7 @@ package registry
import (
"testing"
"github.com/asim/go-micro/v3/registry"
"go-micro.dev/v4/registry"
"github.com/stretchr/testify/assert"
)

View File

@@ -4,7 +4,7 @@ package router
import (
"net/http"
"github.com/asim/go-micro/v3/api"
"go-micro.dev/v4/api"
)
// Router is used to determine an endpoint for a request

View File

@@ -8,13 +8,13 @@ import (
"strings"
"sync"
"github.com/asim/go-micro/v3/api"
"github.com/asim/go-micro/v3/api/router"
"github.com/asim/go-micro/v3/api/router/util"
"github.com/asim/go-micro/v3/logger"
"github.com/asim/go-micro/v3/metadata"
"github.com/asim/go-micro/v3/registry"
rutil "github.com/asim/go-micro/v3/util/registry"
"go-micro.dev/v4/api"
"go-micro.dev/v4/api/router"
"go-micro.dev/v4/api/router/util"
"go-micro.dev/v4/logger"
"go-micro.dev/v4/metadata"
"go-micro.dev/v4/registry"
rutil "go-micro.dev/v4/util/registry"
)
type endpoint struct {

View File

@@ -6,7 +6,7 @@ import (
"fmt"
"strings"
"github.com/asim/go-micro/v3/logger"
"go-micro.dev/v4/logger"
)
// InvalidTemplateError indicates that the path template is not valid.

View File

@@ -8,7 +8,7 @@ import (
"reflect"
"testing"
"github.com/asim/go-micro/v3/logger"
"go-micro.dev/v4/logger"
)
func TestTokenize(t *testing.T) {

View File

@@ -7,7 +7,7 @@ import (
"fmt"
"strings"
"github.com/asim/go-micro/v3/logger"
"go-micro.dev/v4/logger"
)
var (