tarfs provides a mechanism for embedding resources into Go executables. It was created as an alternative to go-bindata and go-bindata-assetfs that compiles more quickly, especially when embedding a large number of files.
Parts of the implementation of tarfs are taken from go-bindata-assetfs.
Look at build.bash to build the demo and see how it works.