mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-27 14:40:18 +01:00
cb6e5cb0c7
* use dep for vendoring * lets encrypt * moved web to transfer.sh-web repo * single command install * added first tests
13 lines
459 B
Go
13 lines
459 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/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
|