15 lines
257 B
Go
15 lines
257 B
Go
package random
|
|
|
|
import (
|
|
"github.com/micro/go-micro/cmd"
|
|
"github.com/micro/go-micro/selector"
|
|
)
|
|
|
|
func init() {
|
|
cmd.Selectors["random"] = NewSelector
|
|
}
|
|
|
|
func NewSelector(opts ...selector.Option) selector.Selector {
|
|
return selector.NewSelector(opts...)
|
|
}
|