I just committed
which works fine in local tests. I intend to upload a new dh-golang version
with that commit later today.
In case something breaks, please let me know.
I know that this isn’t sufficient to make Go programs build entirely
reproducibly yet, but it’s a step in the right direction.
I have a patch for the Go linker which should take care of the rest, and
I’m talking with the folks in #debian-reproducible about getting it applied
to our reproducible builds infrastructure :).
Pkg-go-maintainers mailing list