// DeleteJob deletes a job given its name
DeleteJob deletes a job given its name
// DeleteJob deletes a job given its name
func DeleteJob(name string) (DeleteJobResponse, error) {
	_, err := reader.FindOneJob(name)
	if err != nil {
		return DeleteJobResponse{}, err
	}
	_ = writer.DeleteJob(name)
	return DeleteJobResponse{Msg: name + " deleted"}, nil
}
func DeleteJob ( name string ) ( DeleteJobResponse , error ) { _ , err := reader . FindOneJob ( name ) if err != nil { return DeleteJobResponse { } , err } _ = writer . DeleteJob ( name ) return DeleteJobResponse { Msg : name + " " } , nil }
DeleteJob deletes a job given its name
DeleteJob deletes a job given its name