Greetings,

I noticed something mostly unrelated to the problem, but wanted to give a 
heads-up. I could be wrong here, but I'm pretty sure the genRand() function 
from your embedded code isn't actually random. IIRC, math/rand.Int is 
deterministic, and needs to be seeded (usually with time.Now().UnixNano) 
before use. Otherwise it will generate the same number every time it is ran.

-K

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/96cf1a9f-65b6-4e98-b2ac-905a1a6545f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to