diff --git a/registry/cache/README.md b/registry/cache/README.md index 1c2d6e90..d3221f6d 100644 --- a/registry/cache/README.md +++ b/registry/cache/README.md @@ -6,7 +6,7 @@ If you're looking for caching in your microservices use the [selector](https://m ## Interface -``` +```go // Cache is the registry cache interface type Cache interface { // embed the registry interface @@ -18,7 +18,7 @@ type Cache interface { ## Usage -``` +```go import ( "github.com/micro/go-micro/registry" "github.com/micro/go-micro/registry/cache"