mirror of
https://github.com/itchyny/mmv.git
synced 2026-01-29 02:57:14 +08:00
switch from math/rand to crypto/rand package
This commit is contained in:
parent
49d37b4903
commit
e81d936dd5
2 changed files with 7 additions and 9 deletions
|
|
@ -4,12 +4,10 @@ import (
|
|||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"os"
|
||||
"os/exec"
|
||||
"runtime"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
_ "github.com/mattn/getwild"
|
||||
"github.com/mattn/go-tty"
|
||||
|
|
@ -23,10 +21,6 @@ const version = "0.1.4"
|
|||
|
||||
var revision = "HEAD"
|
||||
|
||||
func init() {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
}
|
||||
|
||||
func main() {
|
||||
os.Exit(run(os.Args[1:]))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue