See https://go-team.pages.debian.net/packaging.html for documentation on Go packaging.
TODO
In the long term, we should request a section “golang”, see 390609 for an example. This step should follow after there are a number of libraries.
- lintian check for missing Built-Using
Example binary + library packaging
Use dh-golang, see http://anonscm.debian.org/gitweb/?p=collab-maint/dh-golang.git
It has an example/ directory with a control and rules file. In case you have any troubles with dh-golang, please contact stapelberg@
See http://anonscm.debian.org/gitweb/?p=collab-maint/golang-pq-dev.git for a library-only package (not using dh-golang (yet)).