Thanks! Apologies for not doing a quick search for this. Thanks, Glen
On Monday, April 9, 2018 at 2:40:19 PM UTC-4, Glen Newton wrote: > > Hello, > > I was wondering why os.File is a struct and not an interface. It does not > expose anything except methods. > > I was wanting to make a mock os.File for testing and other purposes, but > it not being an interface makes this not easy. Unless I am missing > something here. > > Thanks, > Glen > > -- 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.