Documentation
¶
Index ¶
Constants ¶
View Source
const TABLE_NAME string = "jobs"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JobService ¶
func NewJobService ¶
func NewJobService(db *sql.DB) JobService
func (JobService) GetByStatus ¶
Get jobs by status and returns Array of jobs and error
func (JobService) UpdateStatus ¶
Updates job status by ID and returns a boolean and error
Click to show internal directories.
Click to hide internal directories.