Fixed typo in documentation (#2733)

This commit is contained in:
Don2Quixote 2021-05-24 11:55:54 +03:00 committed by GitHub
parent f07a4f8aea
commit 328d0b8076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
fs.go
View File

@ -17,7 +17,7 @@ type neuteredReaddirFile struct {
http.File
}
// Dir returns a http.Filesystem that can be used by http.FileServer(). It is used internally
// Dir returns a http.FileSystem that can be used by http.FileServer(). It is used internally
// in router.Static().
// if listDirectory == true, then it works the same as http.Dir() otherwise it returns
// a filesystem that prevents http.FileServer() to list the directory files.