NewGuid returns a canonical lowercase v4 GUID; NewGuidRaw returns the 16 raw bytes. Randomness comes from the kernel CSPRNG via getrandom(2), with the version (4) and variant (RFC 4122) bits forced. Tests cover the canonical format, version/variant bits in both string and raw forms, and uniqueness (47 tests total). |
||
|---|---|---|
| .. | ||
| src | ||
| project.xml | ||