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