1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/stringutils
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 Refactor pkg/common, Fixes #11599 2015-03-24 18:19:59 +01:00
stringutils.go pkg: remove random package 2017-05-08 17:02:02 -07:00
stringutils_test.go Implement stringutils.Ellipsis() 2016-08-11 14:14:06 +02:00

This package provides helper functions for dealing with strings