Update README.md

This commit is contained in:
Asim Aslam 2020-08-07 11:21:59 +01:00 committed by Vasiliy Tolstov
parent 230acce007
commit 820afc49eb

View File

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