From 04e0864df4d8a5fb7b4e334de8dbe4539b894ccd Mon Sep 17 00:00:00 2001 From: Asim Date: Tue, 26 Apr 2016 18:54:35 +0100 Subject: [PATCH] Add the link to cmd --- cmd/cmd.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/cmd.go b/cmd/cmd.go index eb94f412..dcd6220f 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -24,6 +24,7 @@ import ( // selectors "github.com/micro/go-micro/selector" "github.com/micro/go-micro/selector/blacklist" + "github.com/micro/go-micro/selector/cache" "github.com/micro/go-micro/selector/random" "github.com/micro/go-micro/selector/roundrobin" @@ -141,6 +142,7 @@ var ( } DefaultSelectors = map[string]func(...selector.Option) selector.Selector{ + "cache": cache.NewSelector, "random": random.NewSelector, "roundrobin": roundrobin.NewSelector, "blacklist": blacklist.NewSelector,