missing-xs-go-import-path-for-golang-package

This Golang source does not declare a XS-Go-Import-Path field in the debian/control file..

Many tools like dh-make-golang(1) use the field to resolve prerequisites correctly. It is also used in the Golang team's CI.

When using dh-golang, the field's value should be the same as DH_GOPKG in debian/rules. The dh-golang build system then automatically sets DH_GOPKG to the value from XS-Go-Import-Path.

For packages that do not use dh-golang, or for packages whose upstream does not publish the sources in a way compatible with go get (and hence does not have a canonical import path) you should use a fake import path. Please contact the Golang team at for more advice.

Severity: info
Experimental: false

See also