mirror of
https://github.com/strongdm/comply
synced 2024-11-24 16:44:53 +00:00
4c5c18964b
Addresses #94
14 lines
461 B
Go
14 lines
461 B
Go
// assetfs allows packages to serve static content embedded
|
|
// with the go-bindata tool with the standard net/http package.
|
|
//
|
|
// See https://github.com/go-bindata/go-bindata for more information
|
|
// 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
|