1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/stringid
Stephen J Day 66cfe61f71
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>
2017-05-08 17:02:02 -07:00
..
README.md
stringid.go pkg: remove random package 2017-05-08 17:02:02 -07:00
stringid_test.go Minor refactor and beter coverage for pkg/stringid 2016-07-20 00:23:06 +02:00

This package provides helper functions for dealing with string identifiers