FileFS implements `Echo#FileFS()` for sub-routes within the Group. Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for file operations.
(path, file string, filesystem fs.FS, m ...MiddlewareFunc)
| 133 | // Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for |
| 134 | // file operations. |
| 135 | func (g *Group) FileFS(path, file string, filesystem fs.FS, m ...MiddlewareFunc) RouteInfo { |
| 136 | return g.GET(path, StaticFileHandler(file, filesystem), m...) |
| 137 | } |
| 138 | |
| 139 | // File implements `Echo#File()` for sub-routes within the Group. Panics on error. |
| 140 | // |
nothing calls this directly
no test coverage detected