Versions in this module Expand all Collapse all v2 v2.1.0 Sep 24, 2026 Changes in this version + type CFD struct + func NewCFD[RawEntity any, CastedEntity filter.Filterable, Create, List, Delete any](service cfdService[RawEntity, Create, List, Delete], ...) CFD[RawEntity, CastedEntity, Create, List, Delete] + type CRD struct + func NewCRD[RawEntity any, CastedEntity filter.Filterable, Create, Get, List, Delete any](service crdService[RawEntity, Create, Get, List, Delete], ...) CRD[RawEntity, CastedEntity, Create, Get, List, Delete] + type CRUD struct + func NewCRUD[RawEntity any, CastedEntity filter.Filterable, ...](service crudService[RawEntity, Create, Get, List, Update, Delete], ...) CRUD[RawEntity, CastedEntity, Create, Get, List, Update, Delete] + type Cast func(Original) Casted + type CreateService struct + func NewCreate[Input, RawOutput, CastedOutput any](service createService[Input, RawOutput], cast Cast[RawOutput, CastedOutput]) CreateService[Input, RawOutput, CastedOutput] + func (c CreateService[Input, RawOutput, CastedOutput]) Create(ctx context.Context, in Input) (CastedOutput, error) + type DeleteService struct + func NewDelete[Input any](service deleteService[Input]) DeleteService[Input] + func (d DeleteService[Input]) Delete(ctx context.Context, in Input) error + type FilterService struct + func NewFilter[Input, RawOutput any, CastedOutput filter.Filterable](service listService[Input, RawOutput], cast Cast[RawOutput, CastedOutput]) FilterService[Input, RawOutput, CastedOutput] + func (f FilterService[Input, RawOutput, CastedOutput]) Filter(ctx context.Context, in Input, appliedFilter string) ([]CastedOutput, error) + func (f FilterService[Input, RawOutput, CastedOutput]) FindOne(ctx context.Context, in Input, appliedFilter string) (c CastedOutput, r error) + type GetService struct + func NewGet[Input, RawOutput, CastedOutput any](service getService[Input, RawOutput], cast Cast[RawOutput, CastedOutput]) GetService[Input, RawOutput, CastedOutput] + func (g GetService[Input, RawOutput, CastedOutput]) Get(ctx context.Context, in Input) (c CastedOutput, r error) + type ListService struct + func NewList[Input, RawOutput, CastedOutput any](service listService[Input, RawOutput], cast Cast[RawOutput, CastedOutput]) ListService[Input, RawOutput, CastedOutput] + func (l ListService[Input, RawOutput, CastedOutput]) List(ctx context.Context, in Input) ([]CastedOutput, error) + type OrderedCreateService struct + func NewOrderedCreate[Input any](service orderedCreateService[Input]) OrderedCreateService[Input] + func (c OrderedCreateService[Input]) Create(ctx context.Context, in Input) (common.Ordering, error) + type PerformActionService struct + func NewPerformAction[Input, RawOutput, CastedOutput any](service performActionService[Input, RawOutput], ...) PerformActionService[Input, RawOutput, CastedOutput] + func (p PerformActionService[ActionInput, RawOutput, CastedOutput]) Perform(ctx context.Context, in ActionInput) (c CastedOutput, r error) + type Read struct + func NewRead[RawEntity any, CastedEntity filter.Filterable, Get, List any](service readService[RawEntity, Get, List], cast Cast[RawEntity, CastedEntity]) Read[RawEntity, CastedEntity, Get, List] + type UpdateService struct + func NewUpdate[Input, RawOutput, CastedOutput any](service updateService[Input, RawOutput], cast Cast[RawOutput, CastedOutput]) UpdateService[Input, RawOutput, CastedOutput] + func (u UpdateService[Input, RawOutput, CastedOutput]) Update(ctx context.Context, in Input) (c CastedOutput, r error)