gopkg icon indicating copy to clipboard operation
gopkg copied to clipboard

Add support for packages with underscores

Open nickjones opened this issue 9 years ago • 3 comments

gopkg considers this repo an unsupported URL pattern even though the github repo exists: http://gopkg.in/nickjones/proc_box.v1.

nickjones avatar Feb 17 '16 13:02 nickjones

An underscore in a package name!? https://blog.golang.org/package-names

GeertJohan avatar Feb 18 '16 09:02 GeertJohan

Prometheus Golang client is unobtainable, too: https://godoc.org/github.com/prometheus/client_golang

GodsBoss avatar Jan 28 '19 08:01 GodsBoss

Also couldn't do go get gopkg.in/prometheus/client_golang.v0

Envek avatar May 14 '20 17:05 Envek

The constraints on naming were always intentional. If a path is unobtainable, it means gopkg.in was being used as the canonical import path for the project, in which case it simply won't work well. The package authors should be on board with gopkg.in for it to be used.

niemeyer avatar Oct 20 '23 10:10 niemeyer