Commit 109912f 1 parent 6233320 commit 109912f Copy full SHA for 109912f
File tree 3 files changed +10
-4
lines changed
3 files changed +10
-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.3.7
5
+ require github.com/dgurney/unikey v0.3.8
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.3.7 h1:lBXR/aUafE8yssvqteqbz7/nB6VgxGO0G7JY016wfeg =
2
- github.com/dgurney/unikey v0.3.7 /go.mod h1:vHqV5+bSBPDtT7q2cxY9DBC/gizehUa/pgbqbWpyL0k =
1
+ github.com/dgurney/unikey v0.3.8 h1:D7ThqRNux5WBNyp+GsBAJ6H1WJqH9NwnNNr+szk38LA =
2
+ github.com/dgurney/unikey v0.3.8 /go.mod h1:vHqV5+bSBPDtT7q2cxY9DBC/gizehUa/pgbqbWpyL0k =
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
"github.com/dgurney/unikey/validator"
25
25
)
26
26
27
- const version = "0.3.8 "
27
+ const version = "0.3.9 "
28
28
29
29
func init () {
30
30
rand .Seed (time .Now ().UnixNano ())
@@ -79,6 +79,12 @@ func main() {
79
79
Second : k [4 :11 ],
80
80
Is95 : * Is95 ,
81
81
}
82
+ case len (k ) == 11 && * Is95 :
83
+ ki = validator.Mod7CD {
84
+ First : k [0 :3 ],
85
+ Second : k [4 :11 ],
86
+ Is95 : * Is95 ,
87
+ }
82
88
case len (k ) == 23 && k [5 :6 ] == "-" && k [9 :10 ] == "-" && k [17 :18 ] == "-" && len (k [18 :]) == 5 :
83
89
ki = validator.Mod7OEM {
84
90
First : k [0 :5 ],
You can’t perform that action at this time.
0 commit comments