On Sat, Feb 29, 2020 at 12:16 PM Philip Boampong <pboampo...@gmail.com> wrote: > > Can you really do that? I don't think the standard library guarantees > that it will not create a new FD behind the scenes tomorrow (nor it > exactly documents its FD usage and timing).
I forgot to reply to this point. The Go standard library guarantees to not be surprising or bizarre. It's not going to open a file unless the function/method clearly requires opening a file. Ian -- 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/CAOyqgcU3WUxC5th2a3vDb%2Bnw6h_QR8nKEt0A300ShSPfK2n1Uw%40mail.gmail.com.