// NewEffect returns a resource of the appropriate sub-type for the provided // effect record. func NewEffect( ctx context.Context, row db.EffectRecord, ) (result hal.Pageable, err error) { return effects.New(ctx, row) }
// NewEffect returns a resource of the appropriate sub-type for the provided // effect record. func NewEffect( ctx context.Context, row history.Effect, ) (result hal.Pageable, err error) { return effects.New(ctx, row) }