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
GetFiles функциясининг намунаси, уни оптималлаштириш керак. func GetFiles(ctx context.Context, номлар ...string) (натича харита[string][]byte, хато error) { if len(номлар) == 0 { return nil, nil } var wg sync.WaitGroup wg.Add(len(номлар)) натижа = make(map[string][]byte, len(номлар)) for _, ном := range номлар { context, _ := context.WithCancel(ctx) go func() { натижа[ном], хато = GetFile(ctx, ном) if хато != nil { return nil, хато } }() } wg.Wait() return натижа, nil }
Project Manager
Саволҳо · 2