Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormSqlRepository ¶
type GormSqlUnitOfWork ¶
type GormSqlUnitOfWork struct {
// contains filtered or unexported fields
}
func NewSqlUnitOfWork ¶
func NewSqlUnitOfWork(db *gorm.DB) *GormSqlUnitOfWork
func (*GormSqlUnitOfWork) Begin ¶
func (uow *GormSqlUnitOfWork) Begin() error
func (*GormSqlUnitOfWork) Commit ¶
func (uow *GormSqlUnitOfWork) Commit() error
func (*GormSqlUnitOfWork) Rollback ¶
func (uow *GormSqlUnitOfWork) Rollback()
func (*GormSqlUnitOfWork) Teams ¶
func (uow *GormSqlUnitOfWork) Teams() service_layer.Repository
Click to show internal directories.
Click to hide internal directories.