Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

14 rader
459 B

  1. // assetfs allows packages to serve static content embedded
  2. // with the go-bindata tool with the standard net/http package.
  3. //
  4. // See https://github.com/jteeuwen/go-bindata for more information
  5. // about embedding binary data with go-bindata.
  6. //
  7. // Usage example, after running
  8. // $ go-bindata data/...
  9. // use:
  10. // http.Handle("/",
  11. // http.FileServer(
  12. // &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: "data"}))
  13. package assetfs