Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mapper ¶
type Mapper interface {
Map(ctx context.Context, input interface{}) (output interface{}, err error)
}
Mapper maps inputs into outputs.
type MapperFunc ¶
MapperFunc is an adaptor to allow the use of ordinary functions as Mappers.
Click to show internal directories.
Click to hide internal directories.