-
Notifications
You must be signed in to change notification settings - Fork 484
Description
Tracer Version(s)
0.70.2
Go Version(s)
go version 1.25.0 darwin/arm64
Bug Report
Mismatch between module declaration in github.com/DataDog/dd-trace-go/contrib/aws/aws-sdk-go-v2/go.mod and the actual directory structure.
go.mod
module github.com/DataDog/dd-trace-go/contrib/aws/aws-sdk-go-v2/v2
Actual Directory structure for the module's aws package:
- dd-trace-go/contrib/aws/aws-sdk-go-v2/aws
Mismatch causes the following error with golangci-lint and the goanalysis_metalinter when running against a go project that imports the module's aws package:
WARN [runner] Can't run linter goanalysis_metalinter: inspect: failed to load package aws: could not load export data: no export data for "github.com/DataDog/dd-trace-go/contrib/aws/aws-sdk-go-v2/v2/aws"
Import statement in go project:
import "github.com/DataDog/dd-trace-go/contrib/aws/aws-sdk-go-v2/v2/aws"
Reproduction Code
No response
Error Logs
No response
Go Env Output
No response