Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame^] | 1 | // assetfs allows packages to serve static content embedded |
| 2 | // with the go-bindata tool with the standard net/http package. |
| 3 | // |
| 4 | // See https://github.com/jteeuwen/go-bindata for more information |
| 5 | // about embedding binary data with go-bindata. |
| 6 | // |
| 7 | // Usage example, after running |
| 8 | // $ go-bindata data/... |
| 9 | // use: |
| 10 | // http.Handle("/", |
| 11 | // http.FileServer( |
| 12 | // &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: "data"})) |
| 13 | package assetfs |