Files
docker-cli/components/engine/pkg
Stephen J Day 957a7e39a2 pkg: remove random package
The unnecessary `random` package has been removed in favor of using the
`math/rand` package directly. Seeding of the random value from crypto
has been added to the `stringid` package to account for the change.

May need to add an equivalent seed to `namesgenerator`, but this is
often used with `stringid` and has collision protection.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
Upstream-commit: 66cfe61f71252f528ddb458d554cd241e996d9f1
Component: engine
2017-05-08 17:02:02 -07:00
..
2016-12-27 17:32:15 +08:00
2017-04-21 12:31:16 -04:00
2017-01-18 00:13:09 +08:00
2017-03-30 16:50:46 +03:00
2017-04-27 09:26:21 -07:00
2016-12-28 09:43:27 +08:00
2017-05-08 17:02:02 -07:00
2017-03-26 20:47:18 +00:00
2017-03-30 16:50:46 +03:00
2016-11-16 12:55:18 -05:00
2017-02-14 14:38:42 -08:00
2017-05-08 17:02:02 -07:00
2017-05-08 17:02:02 -07:00
2017-02-24 19:41:59 +00:00
2016-11-30 10:11:42 -08:00
2016-11-13 20:08:51 -08:00

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

Utility packages are kept separate from the docker 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 Docker 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!