Documentation ¶
Index ¶
- func InitDBRepository(_db *gorm.DB, _logger *zap.Logger) model.IDBRepository
- type JobListingRepo
- func (dbRepo *JobListingRepo) GetDBInstanceWithoutTxn() *gorm.DB
- func (repo *JobListingRepo) GetJobById(_ctx context.Context, _jobId string) (*model.JobListing, error)
- func (dbRepo *JobListingRepo) InitTxn(_ctx context.Context) (*gorm.DB, func())
- func (dbRepo *JobListingRepo) WithTxn(_txnHandler *gorm.DB) model.IDBMethods
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDBRepository ¶
Types ¶
type JobListingRepo ¶
func (*JobListingRepo) GetDBInstanceWithoutTxn ¶
func (dbRepo *JobListingRepo) GetDBInstanceWithoutTxn() *gorm.DB
func (*JobListingRepo) GetJobById ¶
func (repo *JobListingRepo) GetJobById(_ctx context.Context, _jobId string) (*model.JobListing, error)
func (*JobListingRepo) InitTxn ¶
func (dbRepo *JobListingRepo) InitTxn(_ctx context.Context) (*gorm.DB, func())
func (*JobListingRepo) WithTxn ¶
func (dbRepo *JobListingRepo) WithTxn(_txnHandler *gorm.DB) model.IDBMethods
Click to show internal directories.
Click to hide internal directories.