File tree 5 files changed +0
-20
lines changed
5 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ package main
3
3
import (
4
4
goflag "flag"
5
5
"fmt"
6
- "math/rand"
7
6
"os"
8
- "time"
9
7
10
8
"github.com/spf13/cobra"
11
9
"github.com/spf13/pflag"
@@ -17,8 +15,6 @@ import (
17
15
)
18
16
19
17
func main () {
20
- rand .Seed (time .Now ().UTC ().UnixNano ())
21
-
22
18
pflag .CommandLine .SetNormalizeFunc (utilflag .WordSepNormalizeFunc )
23
19
pflag .CommandLine .AddGoFlagSet (goflag .CommandLine )
24
20
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ package main
3
3
import (
4
4
goflag "flag"
5
5
"fmt"
6
- "math/rand"
7
6
"os"
8
- "time"
9
7
10
8
"github.com/spf13/cobra"
11
9
"github.com/spf13/pflag"
@@ -17,8 +15,6 @@ import (
17
15
)
18
16
19
17
func main () {
20
- rand .Seed (time .Now ().UTC ().UnixNano ())
21
-
22
18
pflag .CommandLine .SetNormalizeFunc (utilflag .WordSepNormalizeFunc )
23
19
pflag .CommandLine .AddGoFlagSet (goflag .CommandLine )
24
20
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ package main
3
3
import (
4
4
goflag "flag"
5
5
"fmt"
6
- "math/rand"
7
6
"os"
8
- "time"
9
7
10
8
"github.com/spf13/cobra"
11
9
"github.com/spf13/pflag"
@@ -18,8 +16,6 @@ import (
18
16
)
19
17
20
18
func main () {
21
- rand .Seed (time .Now ().UTC ().UnixNano ())
22
-
23
19
pflag .CommandLine .SetNormalizeFunc (utilflag .WordSepNormalizeFunc )
24
20
pflag .CommandLine .AddGoFlagSet (goflag .CommandLine )
25
21
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ package main
3
3
import (
4
4
goflag "flag"
5
5
"fmt"
6
- "math/rand"
7
6
"os"
8
- "time"
9
7
10
8
"github.com/spf13/cobra"
11
9
"github.com/spf13/pflag"
@@ -26,8 +24,6 @@ import (
26
24
// registration API and the spoke agent.
27
25
28
26
func main () {
29
- rand .Seed (time .Now ().UTC ().UnixNano ())
30
-
31
27
pflag .CommandLine .SetNormalizeFunc (utilflag .WordSepNormalizeFunc )
32
28
pflag .CommandLine .AddGoFlagSet (goflag .CommandLine )
33
29
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ package main
3
3
import (
4
4
goflag "flag"
5
5
"fmt"
6
- "math/rand"
7
6
"os"
8
- "time"
9
7
10
8
"github.com/spf13/cobra"
11
9
"github.com/spf13/pflag"
@@ -23,8 +21,6 @@ import (
23
21
)
24
22
25
23
func main () {
26
- rand .Seed (time .Now ().UTC ().UnixNano ())
27
-
28
24
pflag .CommandLine .SetNormalizeFunc (utilflag .WordSepNormalizeFunc )
29
25
pflag .CommandLine .AddGoFlagSet (goflag .CommandLine )
30
26
You can’t perform that action at this time.
0 commit comments