diff --git a/README.md b/README.md index d5a40b7..35e1e32 100644 --- a/README.md +++ b/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"