Company overview
AlfaBit
Последња позиција: Нема података
- Позиције
- 0
- Интервјуи
- 1
- Питања
- 12
- Задаци
- 0
Published in the selected period
Позиције · 0
No vacancies were found for the selected period.
Published records
Интервјуи · 1
Other direction
Интервјуи · 1
Grouped by direction
Питања и задаци · 12
Other direction
Питања · 10
Primer funkcije GetFiles koja treba biti optimizirana. func GetFiles(ctx context.Context, imena ...string) (rezultat map[string][]byte, greška error) { if len(imena) == 0 { return nil, nil } var wg sync.WaitGroup wg.Add(len(imena)) rezultat = make(map[string][]byte, len(imena)) for _, ime := range imena { context, _ := context.WithCancel(ctx) go func() { rezultat[ime], greška = GetFile(ctx, ime) if greška != nil { return nil, greška } }() } wg.Wait() return rezultat, nil }
Project Manager
Питања · 2