func Filter(v string) client.CallOption {
	if v == "" {
		v = "latest"
	}
	filter := func(services []*registry.Service) []*registry.Service {
		var filtered []*registry.Service
		for _, service := range services {
			if service.Version == v {
				filtered = append(filtered, service)
			}
		}
		return filtered
	}
	return client.WithSelectOption(selector.WithFilter(filter))
}
Filter will filter the version of the service
package common
import (
	"github.com/micro/go-micro/client"
	"github.com/micro/go-micro/registry"
	"github.com/micro/go-micro/selector"
)