Sebastiaan van Stijn 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
..
aaparser 654cad4d9d Also trim "~..." from AppArmor versions 4 rokov pred
archive 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
authorization 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
broadcaster f23c00d870 Various code-cleanup 7 rokov pred
capabilities c725eff3e2 Add more import comments 6 rokov pred
chrootarchive 52c1a2fae8 gofmt GoDoc comments with go1.19 3 rokov pred
containerfs 9ce2b30b81 pkg/containerfs: drop ContainerFS type alias 2 rokov pred
devicemapper 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
directory 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
dmesg 2841b05b71 Use Klogctl from x/sys/unix to read Linux kernel log 6 rokov pred
fileutils 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
fsutils c55a4ac779 refactor: move from io/ioutil to io and os package 4 rokov pred
homedir 686be57d0a Update to Go 1.17.0, and gofmt with Go 1.17 4 rokov pred
idtools 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
ioutils 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
jsonmessage 5e0599cb6e pkg/jsonmessage: export "Stream" interface 2 rokov pred
longpath 4f0d95fa6e Add canonical import comment 7 rokov pred
loopback 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
namesgenerator 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
parsers 0910306bf9 Merge pull request #43786 from thaJeztah/gofmt_119 3 rokov pred
pidfile c55a4ac779 refactor: move from io/ioutil to io and os package 4 rokov pred
platform 8a5c13155e all: use unix.ByteSliceToString for utsname fields 3 rokov pred
plugingetter 7c77df8acc Move plugin client to separate interface 7 rokov pred
plugins 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
pools 9f0b3f5609 bump gotest.tools v3.0.1 for compatibility with Go 1.14 5 rokov pred
progress c55a4ac779 refactor: move from io/ioutil to io and os package 4 rokov pred
pubsub 1b8826beee docker stats: fix 'panic: close of closed channel' 4 rokov pred
reexec 686be57d0a Update to Go 1.17.0, and gofmt with Go 1.17 4 rokov pred
stack 7873c27cfb all: replace strings.Replace with strings.ReplaceAll 3 rokov pred
stdcopy c55a4ac779 refactor: move from io/ioutil to io and os package 4 rokov pred
streamformatter 9f0b3f5609 bump gotest.tools v3.0.1 for compatibility with Go 1.14 5 rokov pred
stringid 2df693e533 Entropy cannot be saved 6 rokov pred
sysinfo 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
system 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
tailfile 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
tarsum 412c650e05 pkg/*: fix "empty-lines" (revive) 2 rokov pred
urlutil 5f89a6a78e pkg/urlutil: deprecate, and move to builder/remotecontext/urlutil 3 rokov pred
useragent 4f0d95fa6e Add canonical import comment 7 rokov pred
README.md d040d637a9 Rename a few docker to moby 7 rokov pred

README.md

pkg/ is a collection of utility packages used by the Moby project without being specific to its internals.

Utility packages are kept separate from the moby core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Moby organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!