Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGormPostgres ¶
Types ¶
type GormWithTrxImpl ¶
GormWithTrxImpl ...
func NewGormWithTrxImpl ¶
func NewGormWithTrxImpl(db *gorm.DB) *GormWithTrxImpl
NewGormWithTrxImpl ...
func (*GormWithTrxImpl) BeginTransaction ¶
BeginTransaction ...
func (*GormWithTrxImpl) CommitTransaction ¶
func (r *GormWithTrxImpl) CommitTransaction(ctx context.Context) error
CommitTransaction ...
func (*GormWithTrxImpl) RollbackTransaction ¶
func (r *GormWithTrxImpl) RollbackTransaction(ctx context.Context) error
RollbackTransaction ...
type GormWithoutTrxImpl ¶
GormWithoutTrxImpl ...
func NewGormWithoutTrxImpl ¶
func NewGormWithoutTrxImpl(db *gorm.DB) *GormWithoutTrxImpl
NewGormWithoutTrxImpl ...
func (*GormWithoutTrxImpl) GetDatabase ¶
GetDatabase ...
Click to show internal directories.
Click to hide internal directories.