Move api/router/util to util/router (#1909)
This commit is contained in:
parent
8ee31b94a1
commit
a6d7b1d710
@ -12,11 +12,11 @@ import (
|
|||||||
|
|
||||||
"github.com/micro/go-micro/v3/api"
|
"github.com/micro/go-micro/v3/api"
|
||||||
"github.com/micro/go-micro/v3/api/router"
|
"github.com/micro/go-micro/v3/api/router"
|
||||||
"github.com/micro/go-micro/v3/api/router/util"
|
|
||||||
"github.com/micro/go-micro/v3/logger"
|
"github.com/micro/go-micro/v3/logger"
|
||||||
"github.com/micro/go-micro/v3/metadata"
|
"github.com/micro/go-micro/v3/metadata"
|
||||||
"github.com/micro/go-micro/v3/registry"
|
"github.com/micro/go-micro/v3/registry"
|
||||||
"github.com/micro/go-micro/v3/registry/cache"
|
"github.com/micro/go-micro/v3/registry/cache"
|
||||||
|
util "github.com/micro/go-micro/v3/util/router"
|
||||||
)
|
)
|
||||||
|
|
||||||
// endpoint struct, that holds compiled pcre
|
// endpoint struct, that holds compiled pcre
|
||||||
|
@ -10,11 +10,11 @@ import (
|
|||||||
|
|
||||||
"github.com/micro/go-micro/v3/api"
|
"github.com/micro/go-micro/v3/api"
|
||||||
"github.com/micro/go-micro/v3/api/router"
|
"github.com/micro/go-micro/v3/api/router"
|
||||||
"github.com/micro/go-micro/v3/api/router/util"
|
|
||||||
"github.com/micro/go-micro/v3/logger"
|
"github.com/micro/go-micro/v3/logger"
|
||||||
"github.com/micro/go-micro/v3/metadata"
|
"github.com/micro/go-micro/v3/metadata"
|
||||||
"github.com/micro/go-micro/v3/registry"
|
"github.com/micro/go-micro/v3/registry"
|
||||||
rutil "github.com/micro/go-micro/v3/util/registry"
|
rutil "github.com/micro/go-micro/v3/util/registry"
|
||||||
|
util "github.com/micro/go-micro/v3/util/router"
|
||||||
)
|
)
|
||||||
|
|
||||||
type endpoint struct {
|
type endpoint struct {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package util
|
package router
|
||||||
|
|
||||||
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/compile.go
|
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/compile.go
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package util
|
package router
|
||||||
|
|
||||||
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/compile_test.go
|
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/compile_test.go
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package util
|
package router
|
||||||
|
|
||||||
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/parse.go
|
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/parse.go
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package util
|
package router
|
||||||
|
|
||||||
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/parse_test.go
|
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/parse_test.go
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package util
|
package router
|
||||||
|
|
||||||
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/utilities/pattern.go
|
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/utilities/pattern.go
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package util
|
package router
|
||||||
|
|
||||||
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/runtime/pattern.go
|
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/runtime/pattern.go
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package util
|
package router
|
||||||
|
|
||||||
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/types.go
|
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/types.go
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package util
|
package router
|
||||||
|
|
||||||
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/types_test.go
|
// download from https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/protoc-gen-grpc-gateway/httprule/types_test.go
|
||||||
|
|
Loading…
Reference in New Issue
Block a user