// Assign assigns a job to a notifier
Assign assigns a job to a notifier
// Assign assigns a job to a notifier
func Assign(job *Job, notifier *Notifier, onErrorOnly bool) Assignment {
	return Assignment{
		Job:         job.Name,
		Notifier:    notifier.Name,
		OnErrorOnly: onErrorOnly,
	}
}
func Assign ( job * Job , notifier * Notifier , onErrorOnly bool ) Assignment { return Assignment { Job : job . Name , Notifier : notifier . Name , OnErrorOnly : onErrorOnly , } }
Assign assigns a job to a notifier
Assign assigns a job to a notifier