Pierre Gimalac
Pierre Gimalac
I took a look and I believe I found the issue, I'll validate and open a PR.
Hi @ChronosMasterOfAllTime, thanks for opening an issue ! This is not a recent change, the modules declared in this repo have been using the bugfix version since https://github.com/DataDog/datadog-agent/pull/22908 (7 months...
To be clear, you are not forced to use 1.22.0, just a version which is at least 1.22.0, it's the same constraint as setting `1.22` As per https://go.dev/doc/modules/gomod-ref#go-notes: > The...
Is the Go version in your `go.mod` older than 1.22.0 ? (note that 1.22 is considered older than 1.22.0) If so you probably just need to set the `go` directive...
I tried to reproduce by creating a module using `go 1.22.7` directive, then importing `github.com/DataDog/datadog-agent/pkg/obfuscate` from that module, and it worked as expected, `go mod tidy` did not add a...
Ok then we just definitely can't... As I mentioned, in my first comment: > The reason is that when we import a module then we are forced to use a...
> By specifying go 1.22.0 you are effectively saying ONLY 1.22.0 is OK for use. No, as per [go.dev/doc/modules/gomod-ref#go-notes](https://go.dev/doc/modules/gomod-ref#go-notes): > The go directive sets the minimum version of Go required...
> The dependent package cannot support ANY patch rendition of a given major/minor release. For example, if the package can only support 1.22.2 and beyond, then you would specify 1.22.2...
@manishrjain @jarifibrahim any chance to get a review ?