func (self *Developer) AllTasks(ctx context.Context) {
	if len(self.Projects) == 0 {
		return
	}
	self.Tasks = []Task{}
	for _, project := range self.Projects {
		if err := project.AllTasks(ctx); err == nil {
			self.Tasks = append(self.Tasks, project.Tasks...)
		}
	}
}
// AllTasks Fetch all tasks for a developer
AllTasks Fetch all tasks for a developer
// AllTasks Fetch all tasks for a developer
func (self *Developer) AllTasks(ctx context.Context) {
	if len(self.Projects) == 0 {
		return
	}
	self.Tasks = []Task{}
	for _, project := range self.Projects {
		if err := project.AllTasks(ctx); err == nil {
			self.Tasks = append(self.Tasks, project.Tasks...)
		}
	}
}
func ( self * Developer ) AllTasks ( ctx context . Context ) { if len ( self . Projects ) == 0 { return } self . Tasks = [ ] Task { } for _ , project := range self . Projects { if err := project . AllTasks ( ctx ) ; err == nil { self . Tasks = append ( self . Tasks , project . Tasks ... ) } } }
AllTasks Fetch all tasks for a developer
AllTasks Fetch all tasks for a developer