Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICacheRepository ¶
type ICacheRepository interface { }
type IDBMethods ¶
type IDBMethods interface { IJobListingRepository }
type IDBRepository ¶
type IDBRepository interface { IDBMethods InitTxn(ctx context.Context) (*gorm.DB, func()) WithTxn(txnHandler *gorm.DB) IDBMethods GetDBInstanceWithoutTxn() *gorm.DB }
type IJobListingRepository ¶
type IJobListingRepository interface {
GetJobById(ctx context.Context, jobId string) (*JobListing, error)
}
type JobListing ¶
type JobListing struct { Id string `gorm:"column:id" gorm:"primaryKey" json:"id"` Title string `gorm:"column:title" json:"title"` Description string `gorm:"column:description" json:"description"` Company string `gorm:"column:company" json:"company"` Url string `gorm:"column:url" json:"url"` CreatedBy int `gorm:"column:created_by" json:"created_by"` CreatedAtTs time.Time `gorm:"column:created_at_ts" json:"created_at_ts"` ModifiedBy int `gorm:"column:modified_by" json:"modified_by"` ModifiedAtTs time.Time `gorm:"column:modified_at_ts" json:"modified_at_ts"` }
Click to show internal directories.
Click to hide internal directories.