12 lines
		
	
	
		
			288 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			288 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Package registry uses the go-micro registry for selection
 | |
| package registry
 | |
| 
 | |
| import (
 | |
| 	"github.com/micro/go-micro/v2/client/selector"
 | |
| )
 | |
| 
 | |
| // NewSelector returns a new registry selector
 | |
| func NewSelector(opts ...selector.Option) selector.Selector {
 | |
| 	return selector.NewSelector(opts...)
 | |
| }
 |