// Update => lets us update the status of the job periodically
Update => lets us update the status of the job periodically
// Update = > lets us update the status of the job periodically
func (jr JobRelated) Update(message string) {
	job := jobs[jr.jobID]
	job.message = message
	jobsMutex.Lock()
	jobs[jr.jobID] = job
	jobsMutex.Unlock()
}
func ( jr JobRelated ) Update ( message string ) { job := jobs [ jr . jobID ] job . message = message jobsMutex . Lock ( ) jobs [ jr . jobID ] = job jobsMutex . Unlock ( ) }
Update => lets us update the status of the job periodically
Update = > lets us update the status of the job periodically