[pkg-go] pkg-go reference implementions

Tianon Gravi tianon at debian.org
Wed May 18 15:03:02 UTC 2016


On 17 May 2016 at 10:56, Geert Stappers <stappers at stappers.it> wrote:
> Which go lang package could be considered as an reference implementation?

Most packages are at least started via "dh-make-golang" (and often
dh-make-golang is used to regenerate newer upstream tarballs), so the
majority should have a very similar structure.  I would definitely
recommend checking out the tool if you're looking to package software
written in Go, even more especially if upstream does not tag releases.

If you want a simple library package example, "golang-pault-go-config"
is pretty bare-bones.

If you're rather looking for a binary package example, "rawdns" isn't
very complex, but something like "runc" or "containerd" might be
better to show both a tool/binary and a -dev package in one source.

I wouldn't say these are necessarily "canonical" examples, but they're
a few that I was able to find fairly quickly by scanning my own local
checkouts of pkg-go repos for ones that have very few files.

Hope that helps!


♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4



More information about the Pkg-go-maintainers mailing list