Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionApplier ¶
type GoroutineTransaction ¶
type Repository ¶
type Repository[Entity any] interface { Create(...*Entity) error Update(structOrMap any, conditions ...any) error First(conditions ...any) (*Entity, error) List(conditions ...any) ([]*Entity, error) Delete(conditions ...any) error Pagination(offset, limit int, conditions ...any) (total int64, list []*Entity, err error) }
type TransactionTx ¶
Click to show internal directories.
Click to hide internal directories.