Dear Michael, > Aren't the relevant checks disabled when GO111MODULE is set to off, > which dh-golang does?
Thank you very much for your speedy response! With the information in your email, I was able to find https://golang.org/ref/mod#mod-commands (which describes the GO111MODULE environment variable). It is something of a radical change in behaviour for such an innocuously named setting! > It's always seemed to me that the go.mod approach _should_ be more > compatible with Debian packaging than the GOPATH approach, but I've > never scraped together the time to see if this is actually true, never > mind implementing anything... I would be very interested to see how this might work; presumably, for when the Go build tool attempts to download the dependencies, a proxy server would need to be used in the CI/CD to translate the package paths into ones pointing to the Debian packages. Again, many thanks for your help :) Best wishes, Sebastian
