Patrik, Someone pulled the floppy disk out of the FDD. Someone waved a magnet over the HDD, Cosmic rays hit the SSD, Someone pulled Eternet cable out of its socket. And so on.
How about a simple bug? "ioutil.ReadAll: invalid argument": https://play.golang.org/p/r8mfn5KvaE8 Peter On Tuesday, February 13, 2018 at 3:19:18 AM UTC-5, Patrik Iselind wrote: > > Hi, > > I have a hard time imagining when > https://golang.org/pkg/io/ioutil/#ReadAll would produce err != nil. The > documentation doesn't tell either. It would help when writing unittests for > code that use ioutil.ReadAll(). > > // Patrik > -- 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. For more options, visit https://groups.google.com/d/optout.