News for hackers. Stuff that matters.
Re:Things you probably don't know about Go (2012) [slides] by workthrowaway12 on Thursday October 10, 2019 @10:20AM (#21214780)
i miss Andrew... haven't seen him talk lately. but anyways, not sure i understand the mock file system slide -- it's still calling os.Open?
Re:Things you probably don't know about Go (2012) [slides] by y4mi on Thursday October 10, 2019 @11:02AM (#21215280)
Check the date in the URL. Might explain your confusion
Re:Things you probably don't know about Go (2012) [slides] by selljamhere on Thursday October 10, 2019 @10:36AM (#21214989)
The slide demonstrates a concrete implementation of the interface, showing how it can be used to communicate with the real file system. The mock implementation is left as an exercise for the reader, as you and I would likely have different requirements.