зеркало из https://github.com/microsoft/docker.git
66cfe61f71
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> |
||
---|---|---|
.. | ||
README.md | ||
stringid.go | ||
stringid_test.go |
README.md
This package provides helper functions for dealing with string identifiers