Платформа ЦРНП "Мирокод" для разработки проектов
https://git.mirocod.ru
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
459 B
13 lines
459 B
// assetfs allows packages to serve static content embedded |
|
// with the go-bindata tool with the standard net/http package. |
|
// |
|
// See https://github.com/jteeuwen/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
|
|
|