mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
* switch from PRNG to random module * fix the regression * comments + tests * runnableExamples * make oids better
7 lines
79 B
Nim
7 lines
79 B
Nim
import std/oids
|
|
|
|
|
|
block: # genOid
|
|
let x = genOid()
|
|
doAssert ($x).len == 24
|