We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go-clean-arch/article/service.go
Line 63 in e06c6d0
for authorID := range mapAuthors { authorID := authorID g.Go(func() error { res, err := a.authorRepo.GetByID(ctx, authorID) if err != nil { return err } chanAuthor <- res return nil }) }
better to do?
authors, err := a.authorRepo.GetByIDS(ctx, authorIDS) if err != nil { return err } for _, author := range authors { chanAuthor <- res }
The text was updated successfully, but these errors were encountered:
There's difference in perfomance?
Sorry, something went wrong.
No branches or pull requests
go-clean-arch/article/service.go
Line 63 in e06c6d0
in
better to do?
The text was updated successfully, but these errors were encountered: