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 3ce520ec80
golangci-lint: update to v1.49.0
Remove the "deadcode", "structcheck", and "varcheck" linters, as they are
deprecated:

    WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
    WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
    WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
    WARN [linters context] structcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 2f1c382a6d)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-09-26 11:58:07 +02:00
..
aaparser
archive replace pkg/system Sequential funcs with moby/sys/sequential 2022-08-30 09:34:33 +02:00
authorization
broadcaster
capabilities
chrootarchive
containerfs
devicemapper golangci-lint: update to v1.49.0 2022-09-26 11:58:07 +02:00
directory
dmesg
fileutils
fsutils
homedir
idtools
ioutils
jsonmessage
longpath
loopback
namesgenerator namesgenerator: remove Valentina Tereshkova 2022-09-06 13:58:28 +02:00
parsers
pidfile
platform
plugingetter
plugins
pools
progress
pubsub
reexec
signal
stack
stdcopy
streamformatter
stringid
sysinfo
system replace pkg/system Sequential funcs with moby/sys/sequential 2022-08-30 09:34:33 +02:00
tailfile
tarsum
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!