[资源介绍]
GitHub - balinomad/go-mockfs: Feature-rich filesystem mocking for Go tests: comprehensive error injection, latency simulation, write operations, operation statistics, and standalone file handles. Built on testing/fstest.MapFS with comprehensive fs.FS interface support.
Feature-rich filesystem mocking for Go tests: comprehensive error injection, latency simulation, write operations, operation statistics, and standalone file handles. Built on testing/fstest.MapFS with comprehensive fs.FS interface support. - balinomad/go-mockfs
- mockfs - 用于 Go 测试的模拟文件系统,具有错误注入和延迟模拟功能,基于 testing/fstest.MapFS 构建。