1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Sebastiaan van Stijn fa6954cb98
reformat "nolint" comments
Unlike regular comments, nolint comments should not have a leading space.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit bb17074119)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-17 18:12:14 +02:00
..
aaparser
archive reformat "nolint" comments 2022-08-17 18:12:14 +02:00
authorization Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
broadcaster
capabilities
chrootarchive Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
containerfs Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
devicemapper reformat "nolint" comments 2022-08-17 18:12:14 +02:00
directory Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
discovery
dmesg
filenotify
fileutils Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
fsutils Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
homedir Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
idtools Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
ioutils Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
jsonmessage gosimple: S1039: unnecessary use of fmt.Sprintf 2022-08-17 18:10:32 +02:00
locker
longpath
loopback reformat "nolint" comments 2022-08-17 18:12:14 +02:00
mount Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
namesgenerator gosec: G404: Use of weak random number generator 2022-08-17 18:09:41 +02:00
parsers Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
pidfile Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
platform Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
plugingetter
plugins Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
pools
progress
pubsub
reexec Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
signal Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
stdcopy
streamformatter
stringid
symlink
sysinfo Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
system reformat "nolint" comments 2022-08-17 18:12:14 +02:00
tailfile
tarsum
term Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
truncindex
urlutil
useragent
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!