Update README.md
This commit is contained in:
parent
230acce007
commit
820afc49eb
@ -6,7 +6,7 @@ If you're looking for caching in your microservices use the [selector](https://m
|
|||||||
|
|
||||||
## Interface
|
## Interface
|
||||||
|
|
||||||
```
|
```go
|
||||||
// Cache is the registry cache interface
|
// Cache is the registry cache interface
|
||||||
type Cache interface {
|
type Cache interface {
|
||||||
// embed the registry interface
|
// embed the registry interface
|
||||||
@ -18,7 +18,7 @@ type Cache interface {
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```go
|
||||||
import (
|
import (
|
||||||
"github.com/micro/go-micro/registry"
|
"github.com/micro/go-micro/registry"
|
||||||
"github.com/micro/go-micro/registry/cache"
|
"github.com/micro/go-micro/registry/cache"
|
||||||
|
Loading…
Reference in New Issue
Block a user