I have code that looks like this:
u := make([]byte, 16) _, err := rand.Read(u) if err != nil { return } u[8] = (u[8] | 0x80) & 0xBF // what does thi
This library is our standard for uuid generation and parsing:
https://github.com/pborman/uuid