Report #11095
[bug\_fix] go: module github.com/Aws/[email protected] found, but does not contain package github.com/Aws/Sdk
Correct the import path and \`go.mod\` requirement to use the exact case matching the repository, as Go module paths are case-sensitive.
Journey Context:
A developer adds an AWS SDK dependency using an auto-completed import \`github.com/Aws/Sdk\`. The \`go get\` command fails, stating the module is found but the package is not. The developer checks GitHub and the repository clearly exists. The trap is that web URLs are often case-insensitive, but Go module paths are strictly case-sensitive. The Go tooling resolves \`github.com/Aws/Sdk\` as a completely different module than \`github.com/aws/sdk\`. Because the actual repository uses lowercase, the tooling cannot find the package files within the incorrectly-cased module path. Fixing the import to \`github.com/aws/sdk\` and running \`go mod tidy\` corrects the resolution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T12:24:52.953072+00:00— report_created — created