Hacker News new | past | comments | ask | show | jobs | submit login
Write once, store anywhere: Extensible file systems for Go – by John Starich (johnstarich.com)
38 points by rbanffy on March 18, 2022 | hide | past | favorite | 5 comments



1. I love the design decision of using composition to expose mutable file system features in a way that nicely mirrors design of io/fs.Fs

2. the addition of a standardized test suite is a nice touch. I might start doing that with my own projects. This is the kind of thing that could really help accelerate the plugin ecosystem around a library or application. Plus, it can double as API documentation.



What would be cool is to have a method to turn such golang fs into an actual filesystem, like fuse…


Do you mean like this project, for example?

https://github.com/hanwen/go-fuse


amazing idea. i love it !!! also a very very good blog post.

thanks




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: