diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2023-03-11 12:20:42 -0500 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2023-03-11 12:43:30 -0500 |
| commit | 6d079da3e0544797317c05606a7613a98aa75e50 (patch) | |
| tree | 4042c0be40264822907bc2d43d89b6ca20f35f80 | |
| parent | 5f5b58e96117952a10c5d5a21d5ff4a9c91dc22c (diff) | |
random: fix lint error on deprecated rand.Seed use
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
| -rw-r--r-- | random/random.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/random/random.go b/random/random.go index eb993f57..742099d0 100644 --- a/random/random.go +++ b/random/random.go @@ -6,14 +6,9 @@ import ( "math" "math/rand" "regexp" - "time" "unicode" ) -func init() { - rand.Seed(time.Now().UnixNano()) -} - // Default set, matches "[a-zA-Z0-9_.-]" const defaultSet = "-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz" |
