1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 16:04:14 +01:00
gitea/vendor/github.com/elazarl/go-bindata-assetfs/doc.go

14 lines
459 B
Go
Raw Normal View History

// 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