Company overview
AlfaBit
Vaga mais recente: Sem dados
- Vagas
- 0
- Entrevistas
- 1
- Perguntas
- 12
- Tarefas
- 0
Published in the selected period
Vagas · 0
No vacancies were found for the selected period.
Published records
Entrevistas · 1
Other direction
Entrevistas · 1
Grouped by direction
Perguntas e tarefas · 12
Other direction
Perguntas · 10
Exemplo de função GetFiles que precisa ser otimizada. func GetFiles(ctx context.Context, nomes ...string) (resultado map[string][]byte, err error) { if len(nomes) == 0 { return nil, nil } var wg sync.WaitGroup wg.Add(len(nomes)) resultado = make(map[string][]byte, len(nomes)) for _, nome := range nomes { context, _ := context.WithCancel(ctx) go func() { resultado[nome], err = GetFile(ctx, nome) if err != nil { return nil, err } }() } wg.Wait() return resultado, nil }
Project Manager
Perguntas · 2