Commit e4a6076 1 parent e44f663 commit e4a6076 Copy full SHA for e4a6076
File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ module github.com/dgurney/unikey-mod7
2
2
3
3
go 1.16
4
4
5
- require github.com/dgurney/unikey v0.1.0
5
+ require github.com/dgurney/unikey v0.1.1
6
6
7
7
// replace github.com/dgurney/unikey => ../unikey
Original file line number Diff line number Diff line change 1
- github.com/dgurney/unikey v0.1.0 h1:iKwY6+XLnIvkapfJJeOzB0aDO4pOqGJStGij6lGTUIA =
2
- github.com/dgurney/unikey v0.1.0 /go.mod h1:vHqV5+bSBPDtT7q2cxY9DBC/gizehUa/pgbqbWpyL0k =
1
+ github.com/dgurney/unikey v0.1.1 h1:lAqlsJcNVunt9MXnvyewImxdKmxFv10D0Xh9QNN0FNI =
2
+ github.com/dgurney/unikey v0.1.1 /go.mod h1:vHqV5+bSBPDtT7q2cxY9DBC/gizehUa/pgbqbWpyL0k =
Original file line number Diff line number Diff line change @@ -17,13 +17,18 @@ package main
17
17
import (
18
18
"flag"
19
19
"fmt"
20
+ "math/rand"
20
21
"time"
21
22
22
23
"github.com/dgurney/unikey/generator"
23
24
"github.com/dgurney/unikey/validator"
24
25
)
25
26
26
- const version = "0.1.3"
27
+ const version = "0.1.5"
28
+
29
+ func init () {
30
+ rand .Seed (time .Now ().UnixNano ())
31
+ }
27
32
28
33
func main () {
29
34
bench := flag .Int ("bench" , 0 , "Benchmark generation and validation of N*3 keys." )
You can’t perform that action at this time.
0 commit comments