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

Use FileInfo stored in asset #55

Closed Unrud closed 2 years ago

elazarl commented 2 years ago

Can you please explain the change?

Unrud commented 2 years ago

The function AssetInfo is generated by go-bindata and returns FileInfo for the specified file path. The removed function assetInfo on the other hand tries to get FileInfo from a file on the real filesystem.