Skip to content

is this correct this project name ?

dh-make-golang generate this library's boiler template.

the template name is golang-github-gizak-termui.

this naming is go packaging rule.

so, I think we must change package name.

Naming Conventions
We derive Debian package names from the import path by replacing all slashes with dashes and using a canonical identifier instead of the hostname.

E.g., for github.com/stapelberg/godebiancontrol (which contains "go" already), the resulting Debian package name is golang-github-stapelberg-godebiancontrol-dev.

We use the -dev suffix to keep the namespace clean for shipping shared libraries in the future, which would then be shipped as golang-github-stapelberg-godebiancontrol.

In general, you should use the import path for deriving a name, not the actual package name. Ideally, those are the same anyway.

Here are a couple examples:

Import path	Debian package name
github.com/stapelberg/websocket

golang-github-stapelberg-websocket-dev

code.google.com/p/go.net/websocket

golang-googlecode-go.net-websocket-dev

golang.org/x/oauth2

golang-golang-x-oauth2-dev

google.golang.org/appengine

golang-google-appengine-dev