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() { შედეგი[sახელი], შეცდომა = GetFile(ctx, სახელი) if შეცდომა != nil { return nil, შეცდომა } }() } wg.Wait() return შედეგი, nil }
Project Manager
კითხვები · 2