mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 13:05:56 +00:00
accesslog: NEW log broker and many more features
some fixes about context clone, fix response recorder concurrent access, fix reload views with only ParseTemplate and more
This commit is contained in:
@@ -110,6 +110,11 @@ type noOpFS struct{}
|
||||
|
||||
func (fs noOpFS) Open(name string) (http.File, error) { return nil, nil }
|
||||
|
||||
func isNoOpFS(fs http.FileSystem) bool {
|
||||
_, ok := fs.(noOpFS)
|
||||
return ok
|
||||
}
|
||||
|
||||
// fixes: "invalid character in file path"
|
||||
// on amber engine (it uses the virtual fs directly
|
||||
// and it uses filepath instead of the path package...).
|
||||
|
||||
Reference in New Issue
Block a user