Package: golang-github-spf13-afero-dev (1.2.2+really1.2.1-1)
Links for golang-github-spf13-afero-dev
Download Source Package golang-github-spf13-afero:
- Homepage [github.com]
FileSystem Abstraction System for Go
Package Afero provides types and methods for interacting with the filesystem as an abstraction layer for the Go Programming Language.
It provides a few implementations that are largely interoperable. One that uses the operating system filesystem, one that uses memory to store files (cross platform) and an interface that should be implemented if you want to provide your own filesystem.
It is suitable for use in any situation where you would consider using the OS package as it provides an additional abstraction that makes it easy to use a memory-backed file system during testing. It also adds support for the http filesystem for full interoperability.
Afero has an exceptionally clean interface and simple design without needless constructors or initialization methods.
Other Packages Related to golang-github-spf13-afero-dev