Please have a read of my talk on solid from 2016.

Tldr: define an interface with the behaviour of the os.File that your 
function/method expects. 

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 
For more options, visit

Reply via email to