Versions in this module Expand all Collapse all v0 v0.1.0 Oct 10, 2026 Changes in this version + type GormRepositoryConfigurator struct + func (this *GormRepositoryConfigurator) GormTxManager() *GormTxManager + type GormTxManager struct + func (this *GormTxManager) End() + func (this *GormTxManager) Get() *gorm.DB + func (this *GormTxManager) Start(ctx context.Context) *gorm.DB + func (this *GormTxManager) Transactional(ctx context.Context, action func() Error) + type OrmQuery interface + Query func(args ...any) OrmQueryFunc + type OrmQueryFunc = func(*gorm.DB) *gorm.DB + type OrmRepository struct + func (this *OrmRepository[T, ID]) Delete(object *T) Error + func (this *OrmRepository[T, ID]) DeleteById(id ID) Error + func (this *OrmRepository[T, ID]) FindById(id ID) Optional[*T] + func (this *OrmRepository[T, ID]) PostConstruct(parent any) Error + func (this *OrmRepository[T, ID]) Query(queries ...OrmQueryFunc) *gorm.DB + func (this *OrmRepository[T, ID]) Save(object *T) (*T, Error) + func (this *OrmRepository[T, ID]) SaveAll(objects []*T) ([]*T, Error) + type OrmRepositoryInterface interface + Delete func(object *T) Error + DeleteById func(id K) Error + FindById func(id K) Optional[*T] + Query func(queries ...OrmQueryFunc) *gorm.DB + Save func(object *T) (*T, Error) + SaveAll func(object []*T) ([]*T, Error)