2017-09-19 14:47:10 +00:00
|
|
|
// assetfs allows packages to serve static content embedded
|
|
|
|
// with the go-bindata tool with the standard net/http package.
|
|
|
|
//
|
2020-05-30 14:29:47 +00:00
|
|
|
// See https://github.com/go-bindata/go-bindata for more information
|
2017-09-19 14:47:10 +00:00
|
|
|
// about embedding binary data with go-bindata.
|
|
|
|
//
|
|
|
|
// Usage example, after running
|
|
|
|
// $ go-bindata data/...
|
|
|
|
// use:
|
|
|
|
// http.Handle("/",
|
|
|
|
// http.FileServer(
|
|
|
|
// &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: "data"}))
|
|
|
|
package assetfs
|