elazarl / go-bindata-assetfs

Serves embedded files from `jteeuwen/go-bindata` with `net/http`
BSD 2-Clause "Simplified" License
870 stars 116 forks source link

Undefined type in generated file #39

Closed hheld closed 8 years ago

hheld commented 8 years ago

I'm getting the following error in the generated file bindata_assetfs.go: undefined: AssetInfo

This happens in this generated function:

func assetFS() *assetfs.AssetFS {
    for k := range _bintree.Children {
        return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: AssetInfo, Prefix: k}
    }
    panic("unreachable")
}