Add solution for Challenge 3 by murtaza-kgl#1636
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughAdds a new Go solution file introducing ChangesChallenge 3 Solution
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.11.4)level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies" Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (2)
challenge-3/submissions/murtaza-kgl/solution-template.go (2)
3-3: ⚡ Quick winUse conventional import formatting.
The semicolon-separated import statement is valid but unconventional. Go style prefers newline-separated imports.
♻️ Conventional import format
-import ("fmt"; "slices") +import ( + "fmt" + "slices" +)
43-43: 💤 Low valueAdd space before division operator.
Minor formatting: the expression
totalSalary /float64(l)should have a space before the/operator for consistency with Go conventions.♻️ Formatting fix
- return totalSalary /float64(l) + return totalSalary / float64(l)
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 33e3c208-f29c-4223-a283-774d51c9e5fb
📒 Files selected for processing (1)
challenge-3/submissions/murtaza-kgl/solution-template.go
|
Could not automatically merge this PR: Resource not accessible by integration A maintainer will need to merge manually. |
4 similar comments
|
Could not automatically merge this PR: Resource not accessible by integration A maintainer will need to merge manually. |
|
Could not automatically merge this PR: Resource not accessible by integration A maintainer will need to merge manually. |
|
Could not automatically merge this PR: Resource not accessible by integration A maintainer will need to merge manually. |
|
Could not automatically merge this PR: Resource not accessible by integration A maintainer will need to merge manually. |
|
👋 Action needed for auto-merge This PR cannot be auto-merged because "Allow edits from maintainers" is enabled. This is a GitHub limitation with automated workflows. To fix: Please uncheck "Allow edits from maintainers" in the PR sidebar (under the reviewers section), and the PR will be auto-merged in the next cycle. Alternatively, a maintainer can merge this manually. |
Challenge 3 Solution
Submitted by: @murtaza-kgl
Challenge: Challenge 3
Description
This PR contains my solution for Challenge 3.
Changes
challenge-3/submissions/murtaza-kgl/solution-template.goTesting
Thank you for reviewing my submission! 🚀