go-bindata-assetfs
go-bindata-assetfs copied to clipboard
Serves embedded files from `jteeuwen/go-bindata` with `net/http`
Could also be a fix for #14
Problem: I want to declare multiple files when using the `go-bindata-assetfs` cmd: ``` $ go-bindata-assetfs dist/... public/... ``` OR I want to only specify the `dist` directory: ``` $ go-bindata-assetfs...
assetFS is not exportable. so i do : `go-bindata-assetfs -pkg res resources/..` then in generated bindata_assetfs.go i changing assetFS to AssetFS and using it like `import {...` `"bindata_assetfs"` `}` `http.Handle("/resources",...
I am just getting started with your tool. Great job! I noticed an error message when I use it for my assets: ``` sh $ go-bindata-assetfs -pkg gogrinder -o gogrinder/assetfs.go...
Hey it would be great if the import order followed the [go style guide](https://github.com/golang/go/wiki/CodeReviewComments#imports). The side effect of this is that projects that lint fail because of the generated code....
See https://twitter.com/francesc/status/961249107020001280 If you feel distrust for the new one. But you may have distrust about me too. :-)
go-bindata-assetfs -pkg=bootstrap css fonts js Only the css folder is returned. ``` func assetFS() *assetfs.AssetFS { for k := range _bintree.Children { return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: k} }...
Can I write or remove and add file in the AssetFS pragmatically?
/bindata_assetfs.go:9527: undefined: _bintree in _bintree.Children ./bindata_assetfs.go:9528: undefined: AssetDir ./bindata_assetfs.go:9528: undefined: AssetInfo