1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-12 02:28:05 +02:00
kratos/selector/filter.go
longxboy 11cd43e3c3
refactor: unify selector filter (#2277)
* unify selector

Co-authored-by: caoguoliang01 <caoguoliang01@bilibili.com>
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2022-08-16 21:21:58 +08:00

7 lines
121 B
Go

package selector
import "context"
// NodeFilter is select filter.
type NodeFilter func(context.Context, []Node) []Node