You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I created locally branch to add support for fs.FS to serve files. But there is a problem - currently adding support for fs.FS for File() and Static() routes and static middleware is not that simple. For 1.16 it is but when we want to support also 1.15 there are problems as io/fs package does not exist in 1.15 and even with build flags currently go tools are not very happy about it
Issue Description
It would be very nice to have a filesystem middleware supported by echo. Fiber currently has one implemented that allows much easier integration of the new go embed directive.
With fiber, integration looks like this with the middleware:
And the current way to get this working with echo looks like this:
Curious on your thoughts on this
The text was updated successfully, but these errors were encountered: