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

Reply via email to