From feaa6ede6a4bbe4a0f25e8fed022868134ccbc6b Mon Sep 17 00:00:00 2001 From: toimtoimtoim Date: Sat, 15 Jan 2022 11:26:04 +0200 Subject: [PATCH] improve comments --- context_fs_go1.16.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context_fs_go1.16.go b/context_fs_go1.16.go index 889ba9d35..c1c724afd 100644 --- a/context_fs_go1.16.go +++ b/context_fs_go1.16.go @@ -33,7 +33,7 @@ func fsFile(c Context, file string, filesystem fs.FS) error { fi, _ := f.Stat() if fi.IsDir() { - file = filepath.ToSlash(filepath.Join(file, indexPage)) // ToSlash is necessary for Windows + file = filepath.ToSlash(filepath.Join(file, indexPage)) // ToSlash is necessary for Windows. fs.Open and os.Open are different in that aspect. f, err = filesystem.Open(file) if err != nil { return ErrNotFound