code: func (task *Task) GetResources() []taskresource.TaskResource {
  	task.lock.RLock()
  	defer task.lock.RUnlock()
  	return task.getResourcesUnsafe()
  }
docs: // GetResources returns the list of task resources from ResourcesMap