12 lines
182 B
Go
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
|
|
}
|
|
)
|