|DH_GOLANG(1p)||User Contributed Perl Documentation||DH_GOLANG(1p)|
dh_golang - Generates Built-Using substvar
dh_golang [debhelper options]
dh_golang is a debhelper program which adds the misc:Built-Using substvar based on the dependencies of the package being built. It uses go list to determine the packages imported and dpkg-query to find the source package and version that provided that package.
The best way to invoke dh_golang is by adding dh-sequence-golang to the package build dependencies and using dh or by using dh --with=golang.
Michael Stapelberg <firstname.lastname@example.org>