rename imports to asim/go-micro (#2051)
This commit is contained in:
		| @@ -5,7 +5,7 @@ import ( | ||||
| 	"net" | ||||
| 	"strconv" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/router" | ||||
| 	"github.com/asim/go-micro/v3/router" | ||||
| ) | ||||
|  | ||||
| // NewRouter returns an initialized dns router | ||||
|   | ||||
| @@ -4,7 +4,7 @@ package kubernetes | ||||
| import ( | ||||
| 	"fmt" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/router" | ||||
| 	"github.com/asim/go-micro/v3/router" | ||||
| ) | ||||
|  | ||||
| // NewRouter returns an initialized kubernetes router | ||||
|   | ||||
| @@ -7,8 +7,8 @@ import ( | ||||
| 	"strconv" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/router" | ||||
| 	"github.com/micro/go-micro/v3/util/mdns" | ||||
| 	"github.com/asim/go-micro/v3/router" | ||||
| 	"github.com/asim/go-micro/v3/util/mdns" | ||||
| ) | ||||
|  | ||||
| // NewRouter returns an initialized dns router | ||||
|   | ||||
| @@ -3,9 +3,9 @@ package router | ||||
| import ( | ||||
| 	"context" | ||||
|  | ||||
| 	"github.com/asim/go-micro/v3/registry" | ||||
| 	"github.com/asim/go-micro/v3/registry/mdns" | ||||
| 	"github.com/google/uuid" | ||||
| 	"github.com/micro/go-micro/v3/registry" | ||||
| 	"github.com/micro/go-micro/v3/registry/mdns" | ||||
| ) | ||||
|  | ||||
| // Options are router options | ||||
|   | ||||
| @@ -6,9 +6,9 @@ import ( | ||||
| 	"sync" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/logger" | ||||
| 	"github.com/micro/go-micro/v3/registry" | ||||
| 	"github.com/micro/go-micro/v3/router" | ||||
| 	"github.com/asim/go-micro/v3/logger" | ||||
| 	"github.com/asim/go-micro/v3/registry" | ||||
| 	"github.com/asim/go-micro/v3/router" | ||||
| ) | ||||
|  | ||||
| var ( | ||||
|   | ||||
| @@ -4,8 +4,8 @@ import ( | ||||
| 	"os" | ||||
| 	"testing" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/registry/memory" | ||||
| 	"github.com/micro/go-micro/v3/router" | ||||
| 	"github.com/asim/go-micro/v3/registry/memory" | ||||
| 	"github.com/asim/go-micro/v3/router" | ||||
| ) | ||||
|  | ||||
| func routerTestSetup() router.Router { | ||||
|   | ||||
| @@ -4,9 +4,9 @@ import ( | ||||
| 	"sync" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/asim/go-micro/v3/logger" | ||||
| 	"github.com/asim/go-micro/v3/router" | ||||
| 	"github.com/google/uuid" | ||||
| 	"github.com/micro/go-micro/v3/logger" | ||||
| 	"github.com/micro/go-micro/v3/router" | ||||
| ) | ||||
|  | ||||
| // table is an in-memory routing table | ||||
|   | ||||
| @@ -3,7 +3,7 @@ package registry | ||||
| import ( | ||||
| 	"testing" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/router" | ||||
| 	"github.com/asim/go-micro/v3/router" | ||||
| ) | ||||
|  | ||||
| func testSetup() (*table, router.Route) { | ||||
|   | ||||
| @@ -3,7 +3,7 @@ package registry | ||||
| import ( | ||||
| 	"sync" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/router" | ||||
| 	"github.com/asim/go-micro/v3/router" | ||||
| ) | ||||
|  | ||||
| // tableWatcher implements routing table Watcher | ||||
|   | ||||
| @@ -5,7 +5,7 @@ import ( | ||||
| 	"fmt" | ||||
| 	"net" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/router" | ||||
| 	"github.com/asim/go-micro/v3/router" | ||||
| ) | ||||
|  | ||||
| var ( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user