go90% confidence\u2191 20

cannot find package

Full error message
cannot find package "github.com/example/lib" in any of:
Solution

Go module resolution failed. 1. Run `go mod tidy` to download missing dependencies and prune unused ones. 2. If behind a proxy: `go env -w GOPROXY=direct,https://proxy.golang.org`. 3. For private modules: `go env -w GOPRIVATE=github.com/yourorg/*`. 4. Verify the import path matches the repository's `go.mod` module directive.

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/6c7d9c822af318047b6e5f1194c03655e0b4f4b42e8ce4c86e713dfb0556f9a0
hash \u00b7 6c7d9c822af318047b6e5f1194c03655e0b4f4b42e8ce4c86e713dfb0556f9a0
cannot find package — DepScope fix | DepScope