Skip to content

moshee/vfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:generate bindata -skip=*.sw[nop] public templates files

About

Basic filesystem abstraction

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages