Update README.md

This commit is contained in:
Asim Aslam 2020-08-07 11:21:59 +01:00 committed by GitHub
parent 835343d6a5
commit b6ab124d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"