rename imports to asim/go-micro (#2051)
This commit is contained in:
4
registry/cache/README.md
vendored
4
registry/cache/README.md
vendored
@@ -1,6 +1,6 @@
|
||||
# Registry Cache
|
||||
|
||||
Cache is a library that provides a caching layer for the go-micro [registry](https://godoc.org/github.com/micro/go-micro/registry#Registry).
|
||||
Cache is a library that provides a caching layer for the go-micro [registry](https://godoc.org/github.com/asim/go-micro/registry#Registry).
|
||||
|
||||
If you're looking for caching in your microservices use the [selector](https://micro.mu/docs/fault-tolerance.html#caching-discovery).
|
||||
|
||||
@@ -19,7 +19,7 @@ type Cache interface {
|
||||
## Usage
|
||||
|
||||
```go
|
||||
import "github.com/micro/go-micro/registry/cache"
|
||||
import "github.com/asim/go-micro/registry/cache"
|
||||
|
||||
# create a new cache
|
||||
c := cache.New(registry)
|
||||
|
||||
6
registry/cache/cache.go
vendored
6
registry/cache/cache.go
vendored
@@ -7,9 +7,9 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/micro/go-micro/v3/logger"
|
||||
"github.com/micro/go-micro/v3/registry"
|
||||
util "github.com/micro/go-micro/v3/util/registry"
|
||||
"github.com/asim/go-micro/v3/logger"
|
||||
"github.com/asim/go-micro/v3/registry"
|
||||
util "github.com/asim/go-micro/v3/util/registry"
|
||||
)
|
||||
|
||||
// Cache is the registry cache interface
|
||||
|
||||
Reference in New Issue
Block a user