Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
hackpadfs
An extensible file system abstraction for Go. File systems, composable interfaces, and test suites.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
For that, I would suggest a CRUD interface. Something Like these usually work for me: https://github.com/adamluzsi/frameless/blob/master/crud.go
Not to be a downer but does this do anything afero doesn't?
If you like test-driven design, check out my testing framework. https://pkg.go.dev/github.com/adamluzsi/testcase https://github.com/adamluzsi/testcase
Have a look at hackpadfs if you like afero but prefer a "native" abstraction