kvs/pipe/pipe.go
2023-04-18 14:24:20 +08:00

12 lines
182 B
Go

package pipe
import "github.com/tursom/GoCollections/lang"
type (
PipelineHandler[V1, V2 any] interface {
lang.Object
encode1(input []V1) []V2
encode2(input []V2) []V1
}
)