func NewTaskPipeline(pool db.DBPool) *TaskPipeline { dal := db.NewTaskDataAccess(pool) return &TaskPipeline{ isOpen: true, dal: dal, } }
func NewTaskAPI(pool db.DBPool) *TaskAPI { return &TaskAPI{db.NewTaskDataAccess(pool)} }