oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1package equipo
2
3import (
4 "amadan.net/oficina/equipo/internal/equipo/library"
5 "context"
6 "gorm.io/gorm"
7 "time"
8)
9
10func visibleTasks(tx *gorm.DB, teamID string, since time.Time) *gorm.DB {
11 return library.VisibleTasks(tx, teamID, since)
12}
13func (s *Store) SpecialistCounts(ctx context.Context, actor Actor) (out map[string]SpecialistWorkView, err error) {
14 err = s.readTeam(ctx, actor, func(tx *gorm.DB, t Team) error { out, err = library.Counts(tx, t.ID, s.runnerClock.Now()); return err })
15 return
16}
17