https://github.com/moshee/vfs
Basic filesystem abstraction
https://github.com/moshee/vfs
Last synced: 5 months ago
JSON representation
Basic filesystem abstraction
- Host: GitHub
- URL: https://github.com/moshee/vfs
- Owner: moshee
- Created: 2015-09-13T00:06:25.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-02-05T22:27:18.000Z (over 6 years ago)
- Last Synced: 2025-02-24T18:30:49.178Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Package vfs defines a basic filesystem abstraction layer that can open files
and walk trees.
Package vfs/bindata is like a lot of existing tools for packaging static assets
into your binary. The difference is that the resulting filesystem is walkable
from root or any subdir.
Command cmd/bindata takes one or more directories and generates Go source files
using package vfs/bindata. They are generated under a new package
`bindata_files` in the current package to avoid namespace clobbering. Use it
with `go generate` by adding a comment to any source file:
```go
//go:generate bindata -skip=*.sw[nop] public templates files
```