FAQ
AFAIK, in this case, the source of your source of your random numbers is the system e.g. /dev/urandom on Linux and reading from that is the main source of your errors. It's not the copy of data into your slice, so you need to handle the errors. Or depending on your use-case, maybe math/rand in combination with encoding/binary *Endian.Put* is good enough.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedDec 24, '14 at 4:25p
activeDec 25, '14 at 9:03p
posts4
users4
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase