proxy.golang.org : github.com/arschles/sys
Package sys is a small utility library for interacting with the system from your programs. It exists to make your system level code more unit testable. For example, instead of reading a file with os.Open or ioutil.ReadAll, you can call fs.ReadAll, where fs is a an FS implementation. Then, in unit tests, you can substitute a FakeFS to test your code without any disk dependencies. Example usage:
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/arschles/sys
License: Apache-2.0
Latest release: over 9 years ago
First release: over 9 years ago
Namespace: github.com/arschles
Stars: 4 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago