Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteCommand ¶
type DeleteCommand struct { DeleteFunc DeleteFunc ID string }
type InsertCommand ¶
type InsertCommand[T model.Entity] struct { CreateFunc CreateFunc[T] Document T }
type UnitOfWork ¶
type UnitOfWork struct {
// contains filtered or unexported fields
}
func (*UnitOfWork) AddCommand ¶
func (u *UnitOfWork) AddCommand(command Command)
func (*UnitOfWork) Rollback ¶
func (u *UnitOfWork) Rollback()
type UpdateCommand ¶
type UpdateCommand[T model.Entity] struct { UpdateFunc UpdateFunc[T] Entity T }
Click to show internal directories.
Click to hide internal directories.