package cache import ( "time" "github.com/asim/go-micro/v3/registry/cache" ) // WithTTL sets the cache TTL func WithTTL(t time.Duration) cache.Option { return cache.WithTTL(t) }