Skip to content

Commit

Permalink
Merge pull request #13 from andyxning/remove_duplicate_RandomizePrefi…
Browse files Browse the repository at this point in the history
…x_invocation

remove duplicate RandomizePrefix invocation
  • Loading branch information
derekcollison authored Oct 8, 2019
2 parents 4b96681 + 766c5e4 commit 57049d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nuid.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func init() {
prand.Seed(r.Int64())
}
globalNUID = &lockedNUID{NUID: New()}
globalNUID.RandomizePrefix()
}

// New will generate a new NUID and properly initialize the prefix, sequential start, and sequential increment.
Expand Down

0 comments on commit 57049d7

Please sign in to comment.