File tree 2 files changed +0
-5
lines changed 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 4
4
"flag"
5
5
"fmt"
6
6
"math/rand"
7
- "time"
8
7
)
9
8
10
9
// Structure for our options and state.
@@ -44,7 +43,6 @@ flags if necessary.`
44
43
45
44
// Execute is invoked if the user specifies `make-password` as the subcommand.
46
45
func (p * passwordCommand ) Execute (args []string ) int {
47
- rand .Seed (time .Now ().UnixNano ())
48
46
49
47
// Alphabets we use for generation
50
48
//
Original file line number Diff line number Diff line change @@ -49,9 +49,6 @@ natural usage you may specify as the first argument:
49
49
// Execute is invoked if the user specifies `splay` as the subcommand.
50
50
func (s * splayCommand ) Execute (args []string ) int {
51
51
52
- // Ensure we seed our random number generator.
53
- rand .Seed (time .Now ().UnixNano ())
54
-
55
52
// If the user gave an argument then use it.
56
53
//
57
54
// Because people might expect this to work.
You can’t perform that action at this time.
0 commit comments