mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
ci(chore): Fix stylings
This commit is contained in:
parent
1c6552c19f
commit
b461f356a3
@ -93,7 +93,7 @@ func GenIMEI() string {
|
|||||||
for i := 0; i < 14; i++ { // generating all the base digits
|
for i := 0; i < 14; i++ { // generating all the base digits
|
||||||
toAdd := randGen.Intn(10)
|
toAdd := randGen.Intn(10)
|
||||||
fmt.Fprintf(&final, "%d", toAdd) // printing them here!
|
fmt.Fprintf(&final, "%d", toAdd) // printing them here!
|
||||||
if (i+1)%2 == 0 { // special proc for every 2nd one
|
if (i+1)%2 == 0 { // special proc for every 2nd one
|
||||||
toAdd *= 2
|
toAdd *= 2
|
||||||
if toAdd >= 10 {
|
if toAdd >= 10 {
|
||||||
toAdd = (toAdd % 10) + 1
|
toAdd = (toAdd % 10) + 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user