moby--moby/pkg
Kir Kolyshkin 9b0097a699 Format code with gofmt -s from go-1.11beta1
This should eliminate a bunch of new (go-1.11 related) validation
errors telling that the code is not formatted with `gofmt -s`.

No functional change, just whitespace (i.e.
`git show --ignore-space-change` shows nothing).

Patch generated with:

> git ls-files | grep -v ^vendor/ | grep .go$ | xargs gofmt -s -w

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-09-06 15:24:16 -07:00
..
aaparser
archive Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
authorization Format code with gofmt -s from go-1.11beta1 2018-09-06 15:24:16 -07:00
broadcaster
chrootarchive Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
containerfs Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
devicemapper
directory
discovery
dmesg
filenotify pkg/filenotify/poller: fix Close() 2018-08-29 22:16:04 -07:00
fileutils Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
fsutils
homedir
idtools Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
ioutils Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
jsonmessage Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
locker
longpath
loopback
mount Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
namesgenerator Add adjectives, male and female populer personalities 2018-08-28 23:58:10 +05:30
parsers
pidfile
platform
plugingetter Move plugin client to separate interface 2018-05-30 15:22:10 -04:00
plugins Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
pools Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
progress
pubsub
reexec fix build on OpenBSD by defining Self() 2018-06-16 19:09:04 +02:00
signal Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
stdcopy
streamformatter builder: return image ID in API when using buildkit 2018-07-03 19:11:02 +00:00
stringid
symlink
sysinfo Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
system Windows: Go1.11: Use long path names in build context (TestBuildSymlinkBreakout) 2018-09-05 17:01:05 -07:00
tailfile Add func to get an io.Reader for tail operations 2018-08-10 21:01:15 -07:00
tarsum pkg/tarsum: fix unit test for Go 1.11+ 2018-07-19 10:38:45 +03:00
term Fix #28814 2018-08-07 10:20:13 +02:00
truncindex
urlutil
useragent
README.md

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!