https://github.com/thedevtop/go-vio
Virtual I/O package for Go
https://github.com/thedevtop/go-vio
golang io unit-testing
Last synced: 3 days ago
JSON representation
Virtual I/O package for Go
- Host: GitHub
- URL: https://github.com/thedevtop/go-vio
- Owner: TheDevtop
- License: mit
- Archived: true
- Created: 2024-04-28T09:16:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-04T13:09:38.000Z (about 2 years ago)
- Last Synced: 2026-06-13T13:34:13.780Z (3 days ago)
- Topics: golang, io, unit-testing
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Virtual I/O Package
This package provides function types for common file operation functions, like `os.ReadFile()` and `os.Stat()`.
Because these are types, they can be implemented like higher-order functions in your application.
The reason for writing this package, is so that I can make my application code more testable.
### Badges
