Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/breezewish/go-bindata-afero

A bridge between go-bindata and Afero.
https://github.com/breezewish/go-bindata-afero

afero bindata go-bindata golang

Last synced: about 1 month ago
JSON representation

A bridge between go-bindata and Afero.

Awesome Lists containing this project

README

        

# go-bindata-afero

A bridge between [go-bindata](https://github.com/go-bindata/go-bindata) and [Afero](https://github.com/spf13/afero), converts go-bindata embedded data into a [Afero Memory FS](https://github.com/spf13/afero#memmapfs).

## Usage

```go
fs := bindataafero.MustNewBindataFs(Asset, AssetInfo, AssetDir)
```

You can also write assets to an existing Afero FS, see [`fs_test.go`](./fs_test.go) for details.