Move api/router/util to util/router (#1909)

This commit is contained in:
Asim Aslam 2020-08-07 13:30:29 +01:00 committed by GitHub
parent 8ee31b94a1
commit a6d7b1d710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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