// StartImportFromMIT begins an import of the given data from the MIT Data Warehouse.
StartImportFromMIT begins an import of the given data from the MIT Data Warehouse.
// StartImportFromMIT begins an import of the given data from the MIT Data Warehouse .
func StartImportFromMIT(source string, db *sql.DB) error {
	if source != "catalog" && source != "coursews" && source != "offerings" {
		return errors.New("tasks: invalid parameter")
	}
	taskID := "mit_" + source
	taskName := "MIT Import - " + source
	go taskWatcher(taskID, taskName, importFromMIT, source, db)
	return nil
}
func StartImportFromMIT ( source string , db * sql . DB ) error { if source != " " && source != " " && source != " " { return errors . New ( " " ) } taskID := " " + source taskName := " " + source go taskWatcher ( taskID , taskName , importFromMIT , source , db ) return nil }
StartImportFromMIT begins an import of the given data from the MIT Data Warehouse.
StartImportFromMIT begins an import of the given data from the MIT Data Warehouse .